Properly handle single quotes in mwgrep search terms

Change-Id: I24a2b1fb50f02454e1c4e34f27c6baffc632d5d3
Merge "Properly handle single quotes in mwgrep search terms" into production