Made matching AppleWebKit more relaxed about how WebKit is capitalized.

This is to deal with the mysterious LG phone which seemingly uses 'AppleWebkit' (lower-case k) in its useragent string. The change doesn't use a case-insensitive regex on purpose. I prefer to play it safe and just allow the `k` to be lower-case as the seems to be the only documented case of it being different.