Basic IM messenger backend pretty much done (You can start the GUI)

And a couple of fixes to the other parts.
Added comment block to Messenger test.
Comments updated.
update gitingore
Update .gitignore
Merge pull request #22 from juryben/master

.gitignore additions
Added some thoughts on how to harden the DHT.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
Delete friends function now works and some other changes.
cast parameters to unsigned char and terminal localhost regex without domain
Merge pull request #27 from juryben/master

cast to unsigned char and environmental var
updated TODO
Per friend request data added.
Removed useless define.
Some more ideas on how to harden the DHT.
Use UTF-8 for all the text that is sent/recieved.
First part of DHT hardening done.

Added crypto to the DHT communications.

This defeats completely the first attack mentioned in
docs/DHT_hardening.

Also updated the build system to build the latest test (it links it with
libsodium)
Build fixed?
Build fixed?
If someone wants to fix the cmake, go ahead.