Many tests have been implemented.

Big pull request! Wrote a bunch of tests.

Assumes https://github.com/dotcloud/docker-py/pull/89 and https://github.com/dotcloud/docker-py/pull/92 have been merged. (Sorry it was hard to yank just the changes in tests out)