Wrap notification polyfills in a decent test for the absence of cordova, so
they don't override the cordova functions, which may happen after app.js is
evaluated.
Merge pull request #25 from SpiderOak/fix-notification-polyfills

Wrap notification polyfills in a decent test for the absence of cordova, so ...