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
MDL-39926 SCORM: objetives report now core plugin
MDL-13114 tool_uploadcourse: Fixed typo in CLI help
MDL-40648 Added useful functions find_button() and count_button_rows()
MDL-40648 Use new function in parent class, increase sortorder.
MDL-40648 Make sure the button is added in the correct row

previously code expected to find the button in particular row but the tinymce setting may change the buttons' layout
MDL-40648 unittests for editor_tinymce_plugin
MDL-40648 annotated new functions in upgrade.txt