Refectored timeperiods and icon states
Refectored timeperiods and icon states

- Html timeperiods are sorted and displayed in a dl element
- added a state as label feature in get_fa_icon_state

rednach/mod-webui,shinken-monitoring/mod-webui,mohierf/mod-webui,rednach/mod-webui,shinken-monitoring/mod-webui,mohierf/mod-webui,vizvayu/mod-webui,vizvayu/mod-webui,shinken-monitoring/mod-webui,rednach/mod-webui,mohierf/mod-webui