Updated to work with Cordova 2.9+.
Also got the plugman infrastruture to install everything.
Switched to a require-style modern Cordova plugin.