Port the git support away from libqgit2, use libgit2 directly
This is less nasty than it might seem. The original code was littered
with switching bits back and forth between libqgit2 and libgit2 code,
which really was decidedly un-pretty and felt very hackish. So, it
now is just straight forward libgit2, and easier to read