Fix compatibility

This adds a real compatibility layer to `cygit2` so that it _really_ conforms to the `pygit2` API.