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
This seems to be mostly a duplicate of the test below. So maybe just add the environment dict to that test...call that a high level test and then make this one a test specifically for the new `parse_environment` method.