Added Reference functionality to pass pygit2 tests
Implemented more Reference methods
Completed reference tests