Support for environment passing.

Now it is possible to specify additional environment strings for an
application in the manifest by adding an 'environment' key-value
mapping to it.