writeTree and sourceTreeEntries using Hit.

Cleaned out last of CLI stuff.
Clean up imports and dependencies in gitlib-hit.
Isolate duplicated functions in Git.Hit.Internal.
Substantial cleanup and organization of gitlib-hit.

Feeling good about it. There are just a few TODO and undefined pieces
remaining. I'd like to have further test cases in place before
implementing them.