Integrate into PhoneGap for native builds.
Add ios platform build.