Upgraded Phonegap

Phonegap has been upgraded to 2.2.0 release and tested to ensure it works.