MDL-37082 core_course: create new course_delete_module function that handles the...