search: Escape non-word chars for search queries
Merge pull request #1423 from greezybacon/issue/mysql-search-quote

search: Escape non-word chars for search queries

Reviewed-By: Peter Rotich <peter@osticket.com>