Fix plugin metadata
Make plugin working in PhoneGap env
Merge pull request #1 from vtsaplin/master

Plugin changed for using with latest version of Cordova