Update plugin signature to Cordova 3.x.
Make plugin install more like default cordova plugins.