Merge branch 'downtime-records' into 'master'

Downtime records

A little more security, some bugfixes and recording of downtime periods.
Bugfixes and subscribe to Downtime records in client.
Merge branch 'master' of gitlab.office.ukplc.corp:main-projects/monitoring into downtime-records