Fix CliGitAPIImpl.getHeadRev bug - returned same SHA1 for all refs

The getHeadRev(url) implementation in CliGitAPIImpl returned the same
SHA1 for all refs, even though the refs had different SHA1 values in
the output.
Merge pull request #88 from MarkEWaite/master-fix-CliGit-getHeadRev

Fix CliGitAPIImpl.getHeadRev bug - returned same SHA1 for all refs
[FIXED JENKINS-21030]
look for ssh.exe next to known git.exe
Merge pull request #91 from wannessels/master

[FIXED JENKINS-21030]