add support for stack policies in cloudformation

Add very much needed support for using stack policies in aws cloudformation