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
Every time I see this pattern I wonder if WP has a reasonable way of allowing the widget to inject classes at render time and get frustrated that it doesn't.