Made update-lights also listen to any state change notification and react immediately (if appropriate).
Refactored home states to be bit more like a state machine, although transitions are all of type 'from any, to state X' based on Home.determine_state_class.