Added environments and environmentpath parameters to control environment handling
updated docs
fixed trailing whitespace
Merge pull request #43 from crayfishx/add_environment_options

Add environment options