clean up and violations removal (pep8)

Clean up of some code and removal of pep8 violations. I Found your project from here: http://developer.rackspace.com/blog/slumlord-hosting-with-docker.html. Don't really know if this is still being maintained or relevant as the code base seems to have no commits for quite some time, but I thought I put in my contribution and clean up the code.