Add Odb hash function.
Test for Odb hash function.
Remove unnecessary cast.
Merge pull request #52 from ursachec/master

Support for git_odb_hash.