Add custom-policy generation for CloudFront.

@andreadipersio 

- Adds custom policy type
- Refactors the canned policy slightly to behave consistently with custom policies.