Adding support for setting the S3 Bucket Policy JSON.

This PR adds support for setting arbitrary S3 Bucket access policies.