Jenkins 22552

This is a rather small pull requests that implements https://issues.jenkins-ci.org/browse/JENKINS-22552 by adding a

    injectPasswords()

function to the DSL to inject globally defined passwords as environment variables.