Added id to monitor
Merge pull request #193 from TheNeikos/add-id_to_monitor

Added id to monitor
Fixed ws_set_get selecting the opposite
Merge pull request #196 from TheNeikos/fix-ws_set_get_boolean

Fixed ws_set_get selecting the opposite
Added safeguards in case no mode is set
Moved mode setting out of monitors

This commit introduces the ws_monitor_mode object, which allows you to set a
mode and then use it. This way, unusual modes can also be implemented easily.