Updated to Phonegap 3.0
Added TypeScript definition file