CRM-12432 make split out the extracting of where functions from the construction of the where clause
CRM-12432 allow filters to be marked to be skipped by the where clause constructor