Add history view

This commit adds a new plugin to show all past triggers. It also
includes some minor code refactoring and optional warnings for
unsupported items and unattended alarms.