Hyphens are reserved characters in the query language and used as NOT
operators. When the user provides a query with a hyphen, split it into
'inname' queries and 'AND' them together. Ignore leading and trailing
hyphens.
Do the same for other split characters as defined in
SchemaUtil#getNameParts.
Change-Id: I59144b91fcb28fff6b3da43365f45830169781ca