Ability to convert git object to files.

This adds a way to write a git object tree into the filesystem.
Add todo for unittest.
Minor fixes (addressed comments).
Merge pull request #216 from dart-lang/object_util

Ability to convert git object to files.