Resolve a memory leak
Merge branch 'staging'

Conflicts:
	gitlib-libgit2/Git/Libgit2/Internal.hs
Fix remaining memory leaks, fix problem with 63cca8f
Merge branch 'staging'