on-demand release 2.4dev
Merge branch 'wip-MDL-35661-master' of git://github.com/marinaglancy/moodle
MDL-30845 accessibility: changing the way input fields are rendered when they are not-editable
MDL-30845 formslib: Freeze should always be with persistantfreeze set to false since Frozen text fields are now rendered as input fields
MDL-30845 formslib: Removing persistant true as its not needed anymore
MDL-35339 avoid using get_all_sections(), get_all_mods() and field section.sequence directly
MDL-35339 deprecate function get_all_sections()
MDL-35339 Deprecate add_mod_to_section(), create new function course_add_cm_to_section()

Function add_mod_to_section() has very confusing arguments when object  looks like record from
table course_modules but field ->section refers to relative section number (course_sections.section).
In table course_modules the field section refers to course_sections.id.
Also add_mod_to_section() does not update table course_modules and does not call rebuild_course_cache()
which developer can forget to do afterwards.

- Added function course_add_cm_to_section()
- In the core code add_mod_to_section() is replaced with course_add_cm_to_section()
- Function add_mod_to_section() is deprecated
MDL-35339 Deprecate get_all_mods() add get_module_types_names()

- added function get_module_types_names() returning the list of localised strings used for module names;
- added function cm_info::get_used_module_names();
- added magic properties cm_info:: and cm_info:: returning human readable module name;
- replaced usage of function get_all_mods() with get_fast_modinfo() and get_module_types_names();
- function print_section_add_menus() may now retrieve the modules names list itself;
- deprecated function get_all_mods()
MDL-35339 Use get_fast_modinfo() in course sections display functions

- Avoid using field course_sections.sequence for retrieving the modules list, use functionality from
get_fast_modinfo() instead;
- In the following functions/methods mark arguments $mod, $modnames, $modnamesused and $sections as
  not used because they can be taken any time from get_fast_modinfo():
  - function print_section()
  - protected function format_section_renderer_base::section_summary()
  - private function format_section_renderer_base::section_activity_summary
  - public function format_section_renderer_base::print_single_section_page
  - public function format_section_renderer_base::print_multiple_section_page
MDL-35339 added deprecated information in upgrade.txt
MDL-35339 deprecate get_course_section() replace with course_create_sections_if_missing()

By passing course object instead of course id we ensure proper cache reset"
MDL-35339 Course functions unit tests
MDL-35339 call rebuild_course_cache() always (and only) after changing course modules or sections
MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid)
MDL-35769 Course formats: Added function format_base::default_blocks() to replace format config.php
MDL-35895 Correctly build return to course link in book module
Merge branch 'MDL-30845-master' of git://github.com/ankitagarwal/moodle
MDL-35418 SCORM: Improve SCORM 2004 support
GSOC project to improve SCORM 2004 support, includes MDL-32835 rewrite scorm_get_toc
MDL-35418 SCORM: coding guideline tidy - removes a few unused vars as well.