CRM-12341 - use wildcards only as suffix

----------------------------------------
* CRM-12341: prev/next cache should not do double-ended wildcard search
  http://issues.civicrm.org/jira/browse/CRM-12341
CRM-8963

----------------------------------------
* CRM-8963: Batch update profile: states do not change with country
  http://issues.civicrm.org/jira/browse/CRM-8963
CRM-12347

----------------------------------------
* CRM-12347: Rebuild Smart Group Cache errors out if limit=50 configured in parameters
  http://issues.civicrm.org/jira/browse/CRM-12347
CRM-8963 - fix a few more PHP 5.4 warnings

----------------------------------------
* CRM-8963: Batch update profile: states do not change with country
  http://issues.civicrm.org/jira/browse/CRM-8963
CRM-12347, eliminate debug short circuit

----------------------------------------
* CRM-12347: Rebuild Smart Group Cache errors out if limit=50 configured in parameters
  http://issues.civicrm.org/jira/browse/CRM-12347
Merge pull request #416 from dlobo/CRM-8963

CRM-8963
Merge pull request #415 from dlobo/CRM-12347

CRM-12347
Merge pull request #414 from dlobo/CRM-12341

CRM-12341 - use wildcards only as suffix