Some changes I gathered while working

This adds the private lookup by `git_oid` method we talked about and adds some "missing" accessors from `repository.h` to GTRepository.