Some refactoring done.
Merge branch 'master' into refactor
More refactoring done.
Refactor of core done.
nTox and cmake fixed.
Fixed DHT_test.c and added some checks.
Remove timer test, fix CMake files to respect this change
Fix Messenger_test
DHT_bootstrap fixed.
Merge remote-tracking branch 'upstream/refactor' into refactor
Use the messenger's dht instead of creating a new one
Fix friends test
Merge pull request #505 from sonOfRa/refactor

Fix testing files to fit to API changes
Fixed DHT_serverdaemon.
Lossless UDP tests fixed.
astyle --options=tools/astylerc -r ./*.{c,h}
Merge pull request #506 from irungentoo/refactor

Refactored Everything.
Fixed DHTservers' path for Windows
Fixed bug.
Merge pull request #508 from nurupo/master

Fixed a cmake flie to work properly on Windows