fix(search): catch search errors in generic_search (refs #4869)

Use more comprehensible message for end-user.
fix(search): escape last fulltext varaible (refs #4869)
Merge pull request #1220 from eguaj/3.3-A4869

fix(search): catch search errors in generic_search (closes #4869)