Add support for multiple Docker API versions

Add support for multiple server API versions, including the changes made
to the keys returned when inspecting an image in 1.12
(https://github.com/dotcloud/docker/commit/68fb7f4b744bf71206898d32fe203556a6261e5d).

Fixes #106
client: remove some comments