Bug 1027725 - Make calendar app async operations use promises

That works for me... we do this iife thing elsewhere in calendar, but I guess since we're only exporting a function, there's no need to "sandbox" in the same way