isMobileSafari-test updated to also match webviews

Instead of assuming iOS means safari, we check for the iOS version number instead, and act upon that, since the webview can never exceed safari's capabilities.