Add support for custom environment variables

Add new $env_vars parameter that is an array of key-value pairs to be inserted into the setenv.sh template.  Useful for doing things like [ "CLASSPATH=/custom/directory" ]