A few security-related features

Hi there,

Thanks for the cookbook!

I've added a few features:

- Default to `node.chef_environment` if `node["ENV"]` isn't set
- Add the ability to use an encrypted data bag
- Add the ability to set the permissions of the file that's created

Hope they're useful!