Allow nested environment variables using '__'

Allows for nested environment variables using __ (double underscore)
as a separator. For example `bower_storage_packages` would be mapped
to `storage.packages`.