Update jenkins-core and git plugin

Change libraries bundled for testing to use current versions of Jenkins and the git plugin, along their requirements.
The git plugin does depend on matrix-project 1.4, but the version uploaded is 1.2, because newer versions seems affected by [JENKINS-22798](https://issues.jenkins-ci.org/browse/JENKINS-22798).