Some refactoring done.
Fixed issue 470, crypto_test still forcing libsodium when NaCL is chosen
Merge pull request #502 from stqism/issue-470-fix

Fixed issue #470, crypto_test still forcing libsodium when NaCL is chosen
fixed space handling in commands (issue #495)
Merge pull request #503 from rose-m/issue-495-fix

fixed space handling in commands (issue #495)
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}