Issue #1609070 by cpliakas: Separated out Facet API hook implementations into the search_facetapi.facetapi.inc file.