Clean up the way suite environment variables get to the job script.

 * handle static and task-host-specific variables separately
 * pass the environment dicts directly to jobfile module
Same for the submit command.
Merge branch 'master' into suite-env-housekeeping
Update cug.tex

Fix missing close curly brace.
Fix previous merge.
Merge branch 'master' into suite-env-housekeeping
Merge pull request #409 from hjoliver/suite-env-housekeeping

Clean up the way suite environment variables get to the job script.
Updated in-source comments in old event handler submission module.