Bug 821604 - Don't start periodic sync until we have a calendar that needs a real sync operation r=millermedeiros

As of mocha 1.20.x you can return a promise instead of doing the callback thing. I will create another promise that resolves when `onsuccess` is called. Good catch!