Re-added some Enviornment code to Application that got lost during the various merges
Re-added some Enviornment code to Application that got lost during the various merges

mpclarkson/vapor,vapor/vapor,qutheory/vapor,vapor/vapor,qutheory/vapor,vapor/vapor,kdawgwilk/vapor,LoganWright/vapor,kdawgwilk/vapor,kdawgwilk/vapor,LoganWright/vapor,vapor/vapor,qutheory/vapor