Corrected errors not being sent to stderr.
Implemented sending a message type at the beginning.

Also fixed an issue with cottage sending random data at the end.
Fixed style issues.
Added IPC_ERR_UKNOWN_TYPE support.
Move away from the use of the word "command"
Update README.md
Merge pull request #5 from HarveyHunt/feature/ipc_config

Feature/ipc config
Merge branch 'develop'