Cordova 3.0 support

Implemented support for Cordova 3.0 and higher versions.
Plugin can now be added to a cordova project via CLI