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.
Merge pull request #47 from stal888/master

Add custom user statuses to core, updated nTox to support nicknames and user statuses.
Status packet is now id 49 (It's cleaner that way).