CRM-13554

----------------------------------------
* CRM-13554: Improve string validation in the query engine
  http://issues.civicrm.org/jira/browse/CRM-13554
Merge pull request #1802 from dlobo/CRM-13554

CRM-13554