Add commit helper functions
Remove pygit2 backend

Hopefully this is only temporary, but in order to implement open(), we
need more complicated merging than pygit2 easily supports.