Facets support for "and"/"or"/"exclude"

Support for logical operation between facets of the same group.
Minor upgrades to the ui
Tests for new basic query components and new template filters