Made a callback for Friend.status change
Attempt to get and create a proper directory for config storage.
Implement proper config directories.
Cleanup and Error fixes

Add several frees that were missing to prevent memory leaks
Replace strcpy with strdup where appropriate
Replace _stat with __stat64 for building on Windows
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core into upstream
Merge branch 'upstream'
Fixed a silly code ordering mistake
Made name consistent with other 'on change' callbacks
Merge pull request #397 from leeroy2098/merge

Implement proper configuration directories for toxic
Merge branch 'master' of https://github.com/nurupo/InsertProjectNameHere into nurupo-master

Conflicts:
	core/Messenger.c
Update nTox_win32.c

Mispelled function name
Merge pull request #398 from Astonex/patch-4

Update nTox_win32.c
Update .gitignore

Netbeans can't put his nbproject dir outside of source.
added actions/alternate messages
added /me actions to toxic
Merge pull request #399 from ReAzem/patch-1

Update .gitignore
Merge pull request #400 from JFreegman/master

Added actions/alternative type of messages
Update CMakeLists.txt
Fix typo in function name which results in missing symbol
Merge pull request #402 from Astonex/patch-5

Update CMakeLists.txt