Overhaul the pub.dartlang.org API.
Add tests for the new pub.dartlang.org API.
Code review changes.
Merge pull request #119 from dart-lang/api.v2

API Overhaul