[WIP] Send global env vars as `config[:global_env]`

This will make things a lot simpler and will allow to fix bugs like travis-ci/travis-ci#1024.

It needs a change deployed to the worker: travis-ci/travis-build#97