[Docker] Polished exception handling.
[Docker] Using Java 7 diamonds.
[Docker] Added working unit tests.
[Docker API] Fixed broken test.
[Docker API] Added DockerBaseTest#recordResponse method.
[Docker API] Fixed "version" test.
[Docker API] Enabled DockerFactory test.
[Docker API] Added autoconfigured mock server to base Docker test.