Updated plugin for Cordova 3+ and CLI install