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

since it's static I would not attach it to the `app` module.. we can simply `require('controllers/notifications')` when needed!