MDL-48244 Lesson: add custom end of lesson reached completion rule
Merge branch 'MDL-48244' of git://github.com/jmvedrine/moodle