Adding more classes (including support for config-based facet groups)

This is related to https://github.com/GigaOM/legacy-pro/issues/4155, but doesn't need to wait for the actual styling to get pushed.

Done with @Camwyn
I hadn't wanted to make this a core plugin behavior, but this seems straightforward enough.