Merge pull request #117 from KostyaKow/master

created new files misc_tools.(c|h) and moved hex_string_to_bin() there.
styling
Merge pull request #118 from nfkd/patch-1

styling
Added friend request accepting to nTox and fixed a bug.

Fixed a bug in Lossless UDP that prevented 2 clients from sometimes
connecting when they connected at the same time to each other.
Fixed name related functions.

They now should give proper lengths and take length into account when
sending.
nTox now tells you if it could not send the message.