Move to API 2.0.

We decided 1.1 should actually have been 2.0, so 2.0 is pushed and 1.1 (which
was never officially released) is disappearing.

Most of the changes stem from attributes being folded down into the object they
belong to instead of having an extra level of nesting.