added iOS integration

* changed the string to look from from "privly-ios" to "AppleWebKit," since the user agent returned by navigator.userAgent was different from the one generated by NSURLRequest
* changed the platform check order, since the check for Chrome was crashing the iOS app