Overhaul the pub.dartlang.org API.
Add tests for the new pub.dartlang.org API.