Some fixes.
astyled everything.
Fixed some warnings.
Small fixes.
Fixed small problems, updated TODO.
Fixed warnings.
DHT peer finding for new friends should now be slightly faster.

Also fixed the "[i] could not send message" bug in nTox.
Merge remote-tracking branch 'upstream/master' into Integration