Build-Depend on libghc-extensible-exceptions-dev. Closes: #712549
Various updates to internal git and utility libraries shared with git-annex, including some Windows portability.
Fixed to never touch the git work tree or index file, instead using its own to commit to the github branch.