MDL-40697 core_grades: trigger the user_graded event