Updated to follow the Cordova Plugin spec, so that it works with Plugman.

Updated to follow the Cordova Plugin spec, so that it works with Plugman.