Implement blob; fix compatibility with pygit2

This PR adds a more heavyweight compatibility layer with `pygit2`, wrapping `cygit2` objects to provide the correct API.

Implements `create_blob` and `hash` interfaces.