Bob/make cli synchronous

 * Add watch attribute **cli_wait_seconds**, which specifies how long commands issued from the command line should wait for the state changes to complete.   If the state transition does not complete in the specified timeout, the command line will print a message and return a non-zero value.

 * Moved tests for monitoring/unmonitoring to the driver thread where they were not subject to races.

 * Stop command now issues unmonitor command directly to fix race where a process would be restarted before  stop could complete. 

 * Log exception message when kqueue handler could not be loaded.  (Previously exception was silenced.)