Dartify objects.js

Implement Gitobject class in dart.
Addressed comments.
Merge pull request #57 from dart-lang/add_objects_class

Dartify objects.js