Prevent null result when no matches found

In some instances a null value is returned by the Text Helper's highlightSearch() when there are no matches, even when the original string should be shown (e.g. http://www.concrete5.org/developers/bugs/5-6-1-2/file-manager-search-shows-no-title-if-keyword-is-in-attribute-ra/)