Updates the cordova/plugin script to match the interface provided by CLI
- Includes the addition of both a global and local plugin repository