[FIXED JENKINS-19997] fix buildChooser selection
[FIXED JENKINS-19345] isolate Mailer-dependent code
[FIXED JENKINS-17150] Filter out */HEAD from candidate branch list if it's not the only branch
Sort the branch list used to rebuild the last revision if there's no other candidate rev to build. It ensures a deterministic value for GIT_BRANCH and allows a git-flow style workflow with fast-forward merges between branches
Merge pull request #175 from ydubreuil/sort-rebuild-branch-list

Sort the branch list used to rebuild the last commit
[FIXED JENKINS-20123] use bindJSON
[FIXED JENKINS-19581] use remote-polling by default until explicitly disabled
[FIXED JENKINS-18820] don't use "all branches" as default
git-client 1.4.4
use fast remote polling by default
fix tests failures
ls-remote isn't supported on file:// repository we use for unit tests
stupid logic error

hopefully we have some unit tests...
[maven-release-plugin] prepare release git-2.0
[maven-release-plugin] prepare for next development iteration
GitUtils.fixupNames never return null
[JENKINS-20258] prune branches during fetch
switch to c:select to support in-place addition of credentials
[FIXED JENKINS-20561] fix migration of skipTag property for job using configuration format version 1
Merge pull request #179 from ydubreuil/fix-JENKINS-20561

[FIXED JENKINS-20561] fix migration of skipTag property for job using configuration format version 1
If !skipTag, PerBuildTag is added, so test with it true.