Use % formatting in logging functions (fixes #1121)
Use int() rather than long() (fixes #1120)
Merge pull request #1135 from chatcannon/pylint

Fix some pylint warnings
c0103 changes in kbucket, dht and routing_table

Conflicts:
	node/dht.py
	node/market.py
	node/routingtable.py
	tests/test_kbucket.py
removed merge-stuff
removed change of ip attribute
Merge branch 'c0103-fixes-3' of https://github.com/davalb/OpenBazaar into c0103-fixes-3

Conflicts:
	node/kbucket.py