Bug 1001568 - [Clock] Refactor AlarmsDB and Alarm.