[WIP] Ensure LMS passes correct group_id when querying content

TNL-23
I'd like some feedback on the possible refactoring of these mixins, in particular the assertion logic. The problem is that we need to check calls to `mock_request` to assert that it was/wasn't called with `"group_id"`. However, the order of the calls depends on the particular view.

@gwprice