Backport of https://github.com/civicrm/civicrm-core/pull/855/commits
Merge pull request #7 from cividesk/CRM-12524

CRM-12524 In Honor Of and Campaign ID are not carried forward on recurring contributions
CRM-12765 quicksearch query escaping
Merge branch '4.2' of github.com:eileenmcnaughton/civicrm42-core into 4.2