Fix highlighting of search results

The regular expression that looks for matches should be escaped (for instance $highlight may contains dots or asterisks or '#').

Fixes the bug reported in http://www.concrete5.org/developers/bugs/5-6-2-1/search/#558782