MDL-40054 mod_lesson: added PHPUnit test for the lesson_started event
MDL-40054 mod_lesson: replaced 'end' add_to_log call with an event
MDL-40054 mod_lesson: added PHPUnit test for the lesson_ended event