Just cleaning up as I read, no behaviour changes
Merge pull request #43 from Jeffail/master

Mostly superficial changes
Lossless UDP tests fixed.
Some very basic flow control added to lossless UDP.
Loading and saving added to DHT.
Saving and loading of keys added.
Fixed some bugs and a regression.
ncurses test now tells you when you connect to the DHT.
Bug fixed, Loading and saving added to core.
Fixed bug with deleting friends.
Fixed small mistake (Thank you stal).
Improved build system
Make Travis use clang
Apply compiler flags only once
Set appropriative cmake_policy
Merge pull request #45 from nurupo/master

Improved build system
Added nicknames and nickname syncing.
Added draft of routing protocol.
Add custom user statuses to core, updated nTox to support nicknames and user statuses.
Fix a leak.