Fix course visibility option
Remove internal Moodle role (un)assignment, use database plugin sync script instead.
Count all new course enrolments is sisdb.
Better error messages on enrolment.
Fix bugs with internal Moodle database enrolment records