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
Update package name to match convention (cordova-[platform name])

See: https://github.com/apache/cordova-lib/blame/master/cordova-lib/src/cordova/platform.js#L111-L117
CB-7186 --no-signing will be ignored if --buildId is set