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

Maybe `findObjectById` is just unnecessary lol