dht: fix keyInRange function for string types

strings were failing to be detected and this was resulting in a single
bucket which never was allowed to split

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Up the kbucket constant for now
Merge remote-tracking branch 'upstream/master'
removed erroneus  call
Merge pull request #400 from hoffmabc/master

Up the kbucket limit
Merge pull request #396 from benemorius/dht-bugfix

dht: fix keyInRange function for string types
Make JS hint detect undefined variables
Take care of some undefined variables / make some global variables local
catch possible ValueError when getting contacts and using a non-existing contact to exclude. Added license header
added license header
adding first set of unit tests for kbucket module
Include Identicon in the list of predefined variables
Make some global variables local
Always use curly braces
Add a few more stricter JS options
make the script run on arm devices such as raspberrypi or cubox-i
Woops, forgot to add the JS style fixes on this file
license headers unnecessary
normalizing code s/_guid/guid/g
pep8. unit test now passes. OpenBazaar was having issues handling contacts in its DHT