Improve bindings

I'm working through https://libgit2.github.com/docs/guides/101-samples/. A lot of work is still needed.