[#706] PEP8 Compliance

If you want me to actually remove the changes from `dht.py`, `market.py` and `transport.py` let me know.
I can also add a test for PEP8 compliance.
@gubatron: (sidenote #2: remind me to tell you why multiple returns in a function make it a lot easier to comment/uncomment things.)