Add environment variables YAML config for Applications

fixes #569 
add optional "environment" key to application YAML config
a dictionary of environment variable mappings to be made
available to the application's container
You should probably just call  `_parse_environment_config` here. It'll simplify the test.