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.