Some user agent-related changes in support of CB-2520

Changes in correlation with the PR fix [here](https://github.com/apache/cordova-ios/pull/112).