Support global and matrix environment variables

NOTE: This PR depends on https://github.com/jenkinsci/literate-api/pull/4

This is the jenkins part of support for environment variables.