Changes for Cordova 2.4

I took the liberty of changing a few minor things: PhoneGap -> cordova (mentioned somewhere in the issues), and i updated the readme accordingly.

I also checked for existence of cordova.exec in all calls, so you can debug locally (the calls then go straight to your console).