Update Plugin to Cordova 3

Upgrading older Cordova plugins to the lastest version.
See the README for the usage.