fix registering Git\TreeIterator methods.

we need a terminator when registering php methods.
and delete duplicate `git_index_iterator_class_entry` declaration.
initial commit
improve macro
added tests templte
fixed mismatch folding anchor
fixed typo
ignore intermidiate test files
added Git2\Repository::isBare method
added Git2\Repository::getPath() method
improve error handling
added Git2\Repository::getWorkdir method
added Git2\Repository::init method
added Git2\Repository::headOrphan and headDetached methods
added Git2\Repository::discover method
added Git2\Repository::exists() method
for now, added commit, tree, blob classes
added Git2\Blob::__toString() method
added Git2\Commit\getMessage,getMessageEncoding and parentCount methods
added Git2\Signature class
fixed typo