Multilanguage support for search highlighting

Use PHP's strtolower rather than XPath's translate to enable greater
support for languages other than english.