communities: bfe_primary_report_number replaced

* Replaces undefined bfe_primary_report_number
  function with record.get()

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
formatter: bfe_primary_report_number replaced

* Replaces undefined bfe_primary_report_number
  function with record.get()

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
search: new facets gui engine

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
search: configuration of facets per collection

* Adds facet_collection table with configureion

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>