MDL-46552 session: add support for multiple servers in memcached session driver
MDL-46775: Fix call to unavailable function when loading an invalid JS file
MDL-46791 question: fixed incorrect 5th param for tag_set()
MDL-46796 caching: Fix missing property error for memcache(d)
MDL-44894 question editing: fix validation with odd permissions

For users with edit permissions, but not add permissions, it was
impossible to save the editing form. The validation assuemd this value
was present, but it was not. Other code checks this field too, so I
added it rather than changing the validation and all the other uses.
MDL-46826 forum: add index on field forum_discussion.course
MDL-46691 mod_choice: apply filters to user input
MDL-45874 Fix access to users reports in navigation when using separate groups
MDL-46589 scheduled task does not send emails

Thanks to  Luděk Šulák  for the patch
MDL-41284 stats: fix sql query from MDL-41284
MDL-46669 mod_scorm: Extraneous quotes added to scorm API values
Merge branch 'master_MDL-46669' of https://github.com/danmarsden/moodle
MDL-46766 auth_cas: Upgrading to phpCAS 1.3.3
Merge branch 'wip-MDL-46545-master' of git://github.com/marinaglancy/moodle
Merge branch 'wip-MDL-46589-master' of git://github.com/marinaglancy/moodle
Merge branch 'wip-MDL-46826-master' of git://github.com/marinaglancy/moodle
Merge branch 'MDL-45874' of https://github.com/danielneis/moodle
Merge branch 'wip_MDL-46552_m28_memcached' of https://github.com/skodak/moodle
Merge branch 'MDL-44894' of git://github.com/timhunt/moodle
MDL-42231 auth: custom profile fields to support numbers at the end.

For data mapping LDAP or CAS.  Change order of fieldname display checks to verify
custom profile fields first to allow custom field shortname to contain number at the end.