* new function Generic::Utils::parse_query_string($str) that performs
the following:
- escapes unescaped '%' and '_' occurrences when needed
(as they are reserved internally for the "like" operation
- converts all unescaped '*' and '?' chars to their "sql like op"
'%' and '_' counterparts.
* change endpoints that used escape_search_string_pattern() to use
parse_query_string() instead, to avoid:
a) overescaping
b) automatic string wrapping with '*' that prevents strict
match
all sql builder queries that use $q after parse_query_string()
use returned $op ('like', '=') as the operator, to easily
set strict or like match.
Change-Id: I961b5d032036f13a7460d91f8c197538ffba1997
(cherry picked from commit 8089861097)