Bug 1042939 - Resurrect periodic sync, alarms refactor r=millermedeiros

Oops good catch!