Integrate booststrap-dht with cmake

This will make integration for those using cmake much easier. I also fixed up a bunch of compiler warnings about singed/unsigned comparisons.