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

forget about it.. check this comment on the old PR: https://github.com/mozilla-b2g/gaia/pull/21827/files#r15716984