livestatus: add timeperiods table

refs #4372