Corrected cordova package names

The cordova package names have been changed from:

org.apache.cordova.api.CLASSNAME to org.apache.cordova.CLASSNAME

Updated the "import" statements.