Re-enabled bedtime plugin

moved bedtime plugin to rooms plugin. Fixed a bug in bedtime related to
undefined state conf.
more