Snack firm Tayto has received planning approval to build 34 new homes within the historic grounds of Tandragee Castle.