Fixed really bad typo in cmd.h
Build system tweaks to prepare for adding some functionality to lib
Whipped up a quick mock syslog for unit tests

- prepared build system for log tests
- fixed WSH_INCLUDE_DIRS
Wrote tests for log message
Wrote log_message helper function
Refactored to add init and exit functions and store type