CB-7119 cordova run --target xxx dies if blackberry10.json is empty
CB-5815 cordova not defined when pausing w/o cordova.js included

Don't call cordova.fireDocumentEvent for pause/resume events
unless cordova 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
CB-7186 --no-signing will be ignored if --buildId is set