[search] Add Pie widget

Refactor field facet logic
[search] Fix modifying an existing collection template