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

Use more comprehensible message for end-user.
fix(search): escape last fulltext varaible (refs #4839)
Merge pull request #1199 from Eric-Brison/3.2-I4849

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