Added phonegap support
Merge pull request #168 from ArcBees/cg_phonegap_support

Added phonegap support
Merge remote-tracking branch 'origin/master' into brandon_dispatch