Fixed a lot of (all) Cordova 3.6 deprecation warnings