Improved update_galaxy_utils.sh script.
Restore Python 3 compat dropped in 5b92bae.
Unit test fix.
Fix another failing unit test (from metrics work).
Allow client to inject arbitrary environment variables into job.

Galaxy end of this forthcoming - track progress on branch https://github.com/jmchilton/galaxy-central/tree/job_env.