C0103 fixes 3, dht, k_bucket and routing_table

This PR is dependent on #1108.
Merging #1135 introduced a minor conflict in `node/kbucket.py`. Please rebase and keep the line `key = int(key, base=16)` as is. I am looking through the rest of the PR right now.