WIP - Initial support for alarmed metrics.
Leaving sub_alarm tables for now.

Change-Id: I5ccdb53ef4dadc3c8dbc68959de306f914236330