Initial update to Docker 0.7

Have more-or-less updated to the new API. Some things still need to be fixed, but the basic JSON format is correct, and virtually all of the tests pass. There's a lot of formatting thrash here as well, though.