Various style fixes

These are mostly changes to make the code better fit Google's Python style
guide (https://google-styleguide.googlecode.com/svn/trunk/pyguide.html) and
the style of the rest of the codebase. From here on all new code should adhere
closely to Google's style guide (and PEP8) where possible.
updated README for Docker 1.3