renamed plugin js file
cleaned up structure of plugin javascript to match other plugins
changed header file to use phonegap2.0+ Cordova import