Merge branch 'MDL-40701-master' of git://github.com/danpoltawski/moodle
MDL-35851 Lesson: Check/fix the page order every time the pages are loaded
MDL-40604 wiki: fix use of print_container
MDL-40604 course: add test to cover course_delete_module
 MDL-40604 course: remove deprecated function

* course_delete_module was calling delete_event
* Also fix missing inclusion from 379cd2d4