Expose a new endpoint to query a list of users based on a
role name (Moderator, Student, etc.) and a course_id.
This will initially be used by the notifier to send daily digest
messages to forum moderators.
The endpoint includes the key of the desired preference in the URL and
returns the list of users for whom the preference is set (regardless of
the value).