More work prepping for live updating states.  Ensuring the global State variable is kept current correctly.  Add an endpoint to grab Stat JSON via REST and touched up the websocket server to push out state changes as they occur - and only for devices they occur on