MDL-50540 glossary: New WS mod_glossary_get_glossaries_by_courses