update cordova.js with plugin integration

This has the cordova.js that we have generated with our work in cordova-js. The cordova-js repo hasn't merged in my work yet, but hopefully it will soon.