models/IssueFilter: fix converting filter to user_query
_to_user_query
methods doesn't escape single quote characters whchich
are no special regex characters but user query regexp conditions are
wrapped inside single quotes so we have to escape them.