Compatibility with phonegap 2.5 (Cordova)

Changed imported classes. Changed shema of plugin execution. Deleted deprecated classes