Phonegap declarations now compile with --noImplicitAny

Just added a bunch of type declarations that were missing.