Use meta_query instead of custom group meta filters

The meta_query param was introduced in BP 1.8, and works better than the
old hack.

This refactor should allow partial matches, as in the case where courses
are associated with more than one school or department.

See #971