core : Search box with value "Events: Templates =*" gives error from webadmin

Searching for templates from Webadmin search box
with value "Events: Templates =*" throws bad SQL
grammar exception

Change-Id: I40393c976721440306bbe402e2e7dcc7f7fbded1
Bug-Url: https://bugzilla.redhat.com/1003796
Signed-off-by: Ravi Nori <rnori@redhat.com>