MDL-40259 - For SCORM reports limit fields returned from
get_users_by_capability to user ID to decrease memory utilization
MDL-40353 fixed wrong redirection on course group page
MDL-40344 navigation: expandable branch id is now properly unique
MDL-35206 Fix the links list enumeration in the html2text library
MDL-40297 Hide empty categories in my courses

This is a followup of MDL-38631 were was detected that
whith categories being displayed in my courses, some of
them, not having courses for the user, were still shown.

With this patch, any category in the tree, not having courses
is automatically hidden, any depth.
MDL-40297 whitespace, comments & var names cleanup
MDL-40266 improve emulate_bound_params() for mysqli

Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile.
NOBUG: fixed whitespace
Merge branch 'wip-MDL-40344-m24' of git://github.com/samhemelryk/moodle into MOODLE_24_STABLE
MDL-40308: Privacy settings do not change

Update LTI mod form so checkboxes always submit their value.
MDL-40266 improve emulate_bound_params() for sqlsrv driver

Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile.

Credit goes to Martin Langhoff for original mysqli fix.
MDL-40266 improve emulate_bound_params() for mssql driver

Looping over large numbers of items with array_shift() is expensive.
Reverse the array and fetch items from the top of the pile.

Credit goes to Martin Langhoff for original mysqli fix.
MDL-39754 copy 2.5 requirements to Moodle 2.6

Optional features and warnings may be added later,
but we need at least required environment for 2.5.1

This includes database family cleanup and more realistic memory requirement.
Merge branch 'w27_MDL-39754_m24_evn26' of https://github.com/skodak/moodle into MOODLE_24_STABLE
MDL-39546 Lesson module: fixed matching question issues.
MDL-39546 Lesson module: removed duplicate to decode special characters
Merge branch 'get_users_by_capability_fix_m24' of http://github.com/timgus/moodle into MOODLE_24_STABLE
Merge branch 'w27_MDL-40266_m24_arrayshift' of https://github.com/skodak/moodle into MOODLE_24_STABLE
MDL-37818 - RSS - Prevent access to blocks while RSS context errors are displayed
MDL-39628 Chat: check mod/chat:chat capability when using daemon.

Thanks to Francois Gauthier for report/fix.