Store switches on the Switch object itself
Emit `sid` only on the global Switch object
Update main accordingly
High-level sensors
Add id property on switches, emit object not id
Update main
Optional debounce
True closure-objects for stdlib
Wrappers are no-longer necessary
True closure-objects for sensors
Lazy sensor creation
Tagging sensor objects
Return self when nothing better to do
Rewrite switch.lua to match sensor.lua
Missing accessors
Update JSON to new code style
Disabled sensor are never active
Unlock switch on disable
Update railmon.lua and app.js to match new style
Sensors and switches