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

are you sure we don't need to encode/decode the URL?