Update JGit dependency to 2.3.1.201302201838-r
Handle invalid refs

JGitRepository#getHeadObject() will now provide better exceptions if HEAD
or some other ref cannot be resolved properly.

See #27