fixed print_statuschange & m_set_userstatus usage in nTox_win32.c
testing/toxic/prompt.c: changed execute() to skip whitespace at start of command
testing/toxic/prompt.c: changed execute() to ignore whitespace at end of commands
Allow to set a specific userstatus type in toxic

Use:
status <type> <message>, where type is one of
online
away
busy
offline

The message parameter is optional.

To set only the status message, as it was before, use:
statusmsg <message>
set USERSTATUS_KIND_RETAIN as default
Don't ignore the result of fwrite. Since we're building with -Wall and -Werror, this causes compile failures.
Actually use write_result
Merge pull request #374 from leeroy2098/master

Don't ignore the result of fwrite. Since we're building with -Wall and -...
Merge pull request #370 from JFreegman/master

Fixed two bugs
Merge pull request #360 from DarkSER/master

fixed print_statuschange & m_set_userstatus usage in nTox_win32.c
Merge branch 'master' of https://github.com/ptrasd/ProjectTox-Core into pull-requests
Merge branch 'provide-status-type' of https://github.com/jin-eld/ProjectTox-Core into pull-requests
Add #undef before #define to fix redefinition warning
Fix incompatible pointer type warning by changing type of print_statuschange to match parameter of userstatus callback.
Merge pull request #377 from sodwalt/feature

Fixed warnings when compiling nTox_win32
added updated status function to chat.c & removed magic numbers