MDL-42835 Scorm: Fix for JS error because no nodes are selected in the toc.
MDL-45808 enrol_self: Fixed behat to observe the group key policy
MDL-10115 User profile: Allow full list of courses to be viewed on a user's profile
Merge branch 'MDL-42835-master' of http://github.com/damyon/moodle
Merge branch 'MDL-44871-master' of git://github.com/damyon/moodle
weekly release 2.8dev
MDL-45970 quiz editing: fix display of random questions.

The pass by reference meant the function was clobbering the variable in
the calling function. Once that was change, it was not strictly
necessary to rename the variable in the function, but I did anyway for
clarity.

Thanks to Rajesh Taneja for finding the problem, and identifying which
bit of code was broken. I really just made the patch.
MDL-45884 navigation: setting that allows sites to collapse My Courses by default
MDL-45884 navigation: tidied up code and added behat tests
MDL-45884 navigation: changed to positive setting phrasing
MDL-31998 mod_feedback - Feedback depend questions bug
MDL-45982: Implement displaying of non error messages from a provider.
Merge branch 'master' into install_master
MDL-31861 add web service function save_definitions
MDL-45445 events: trivial changes
MDL-45445 events: added missing 'relateduserid' validation
MDL-45445 events: added missing 'other' validation
MDL-45445 events: documented the additional validation
MDL-45445 events: added '(optional)' to event params where applicable
MDL-45901 - Quiz - Display random questions (from category) on RTL mode.