Updating PhoneGap core to work with both PhoneGap and Cordova CLI commands