MDL-40697 core_grades: flag grades that require an event to be triggered
MDL-40697 core_grades: trigger the grade_created/updated events
MDL-40697 core_grade: added unit tests for grade_created/updated events