initial, untested, movement of env related methods into separate file
Merge github.com:CameronNemo/openlaunchd