hash: remove git_hash_init from internal api

Along with that, fix indentation in tests-clar/object/raw/hash.c
Merge pull request #1363 from schu/hash-initialization

hash: remove git_hash_init from internal api