Add more treebuilder tests

The recent changes with git_treebuilder_entrycount point out that
the test coverage for git_treebuilder_remove and
git_treebuilder_entrycount is completely absent.  This adds tests.
Merge pull request #1351 from arrbee/moar-treebuilder-tests

Add more treebuilder tests