Merge pull request #88 from MarkEWaite/master-fix-CliGit-getHeadRev

Fix CliGitAPIImpl.getHeadRev bug - returned same SHA1 for all refs
Merge remote-tracking branch 'upstream/master' into master-work