MDL-39985 add explicit MariaDB support
MDL-40843 Correctly access course_modinfo->get_groups()
TEMP HACK
MDL-40843 Fixing errors in mod_assign
MDL-40843 Fixing errors in mod_assignment