Don't call cordova.fireDocumentEvent for pause/resume events unless cord...

...ova object is available

BB10 inactive/active events are mapped to Cordova events,
but they shouldn't trigger an exception if cordova.js isn't included