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

again the thing about the `app.store()` method.. makes dependencies harder to track. I would love to see it as `var settings = require('store/settings');` or even `var settings = require('store')('Settings');`