Using standard JenkinsRule.createOnlineSlave.
[JENKINS-15829] Verified fix with test (see #50).
Merge branch 'master' of github.com:jenkinsci/mercurial-plugin