Added parsing for server commands, and moved it into api.

Sample slave bot is not really a thing anymore, since most functionality has been moved into `api.c` and `handlers.c`. `decode_chat_json` has been upgraded to allow server commands, i.e "/say \slot 8" from the server CLI.
Isn't the lone `;` only needed when the first thing you do is declare a variable?