[CB-7470]createmobilespec.js --global / --globalplugins shouldn't clear $HOME/.cordova/commonlibs [CB-7469]createmobilespec.js --global is broken since the new plugin test infrastructure was added
[CB-7470]createmobilespec.js --global / --globalplugins shouldn't clear $HOME/.cordova/commonlibs
[CB-7469]createmobilespec.js --global is broken since the new plugin test infrastructure was added

Updated script works on amazon-fireos as well with --global flag.

ollie314/cordova-mobile-spec,corimf/cordova-mobile-spec,corimf/cordova-mobile-spec,ollie314/cordova-mobile-spec,apache/cordova-mobile-spec,corimf/cordova-mobile-spec,corimf/cordova-mobile-spec,ollie314/cordova-mobile-spec,apache/cordova-mobile-spec,apache/cordova-mobile-spec,apache/cordova-mobile-spec,ollie314/cordova-mobile-spec,apache/cordova-mobile-spec,corimf/cordova-mobile-spec,ollie314/cordova-mobile-spec