[#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.
And I can always go through and clean up the code that doesn't look like this, it seemed like extraneous whitespace to me which is why I chose it instead of the above options.

And I suppose to fit the style you want, the closing `}` should be on it's own line in the above options.