Provide the environment to the application config output.
Merge pull request #1017 from rjackson/add-environment-to-global-env

Provide the environment to the application config output.