MDL-41662 badges: Fix viewing user profile when not logged in
MDL-41637 badges: Update modules ids retrieval
MDL-41621 Assign mod: fix page heading levels
MDL-41748 calendar: removed unused strings
MDL-27684 repository: make require_login() throws exception instead of redirect
MDL-36316 useragent: Reduce user agent sniffing

* core_useragent: Introduce is_vendor methods to improve readability
  when we are just detecting if a browser is from a vendor, rather than
  the exact version

* Remove uncessary browser version checks when we are just detecting
  vendors - this makes the intention of our sniffing clearer.

* Remove sniffing for browsers which we do not support, grades/ajax/tinymce
  all support modern browsers so there is no need to sniff for them.
MDL-41315 assign: Dont show users not in the current grouping

This is for separate groups mode. Note - this will be slower - but
this feature is experimental and groupslib does not provide a nicer api.
MDL-41557 Events: Fixed event data snapshot to save valid data
MDL-31560 Messages: Added support for noreply and support users

This is used by messaging system for sending/receiving message
to/from noreply or support user. message_send api will now use
core_user class to get noreply or support user and then
send/receive message depending on user state.
MDL-31560 Messages: Deprecated generate_email_supportuser

generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
MDL-31560 Error: Fixed coding style
MDL-41315 assign: Add unit test for groupmembersonly
MDL-29987 File resource: fix problem with PDF display on mobile devices

Setting the default display option for PDF files from DISPLAY_EMBED to DISPLAY_OPEN
MDL-38194 Files: Allow download of large backup files

The PHP readfile function does not work for files more than 2GB.
This commit provides a wrapper that can be used so that files less
than 2GB are sent with readfile, and files larger than 2GB are
sent manually.

The change applies to all uses of pluginfile.php, although in
reality, backup files are probably the only ones likely to be more
than two gigabytes.
MDL-41434 SCORM: add new sortorder field to allow better ordering of scos
MDL-37524 SCORM: mode not calculated correctly.
Merge branch 'MDL-29987' of https://github.com/bostelm/moodle
Merge branch 'wip-MDL-27684-master' of git://github.com/satrun77/moodle
Merge branch 'master_MDL-37524' of git://github.com/danmarsden/moodle
Merge branch 'MDL-41662_master' of https://github.com/totara/openbadges