Add objectStore test.
Fix git object bugs.
Add more checks and cleanup.
comments.
Merge pull request #275 from dart-lang/test-objectstore

Test objectstore