MDL-44065 Course: _add_instance exception leads to inconsistent db

If an exception occurs during a module's _add_instance function, this
results in a course_modules entry with instance=0. The system already
handled returning false to this function, but did not handle
exceptions.
MDL-43930 assign: Do not log when user is logged in as someone else.

I do not agree with this behaviour - but this makes it consistent with other modules.
MDL-41585 badges: Add a note that badge recipient is a deleted user

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
MDL-44319 phpdocs mod_page: Remove @subpackage tags and add @category
MDL-44361 Import YUI 3.15.0

Includes @VERSION@ fix
MDL-44361 Javascript: Fix js_pending injector Y.io

The previous (slightly whacky) way that we were doing this in previous
versions is no longer supported (and was arguably only supported by being
buggy).

The correct way of doing this is to use a trigger.
MDL-41248 completion: fix non-translatable text.

There were two hard-coded strings. Thanks to Guido Hornig for the suggested fix.
MDL-44287 glossary: use course mod api to create new module when importing as new
MDL-44287 glossary: do not output before redirecting
MDL-44074 theme_bootstrapbase: No 768px-979px & 1200px+ empty blk span calcs.
MDL-44180 mod_quiz: unified @package use
MDL-44312 Administration Take care of cronclionly and cronremotepassword.
Merge branch 'wip-MDL-44074-master_4' of git://github.com/gjb2048/moodle
Merge branch 'MDL-44065-master' of https://github.com/sammarshallou/moodle
MDL-44321 events: make sure the full object is passed to add_record_snapshot in book
Merge branch 'wip-MDL-44321-master-fix2' of git://github.com/marinaglancy/moodle
Merge branch 'MDL-43930-master' of git://github.com/damyon/moodle
Merge branch 'MDL-44361-master' of git://github.com/andrewnicols/moodle
MDL-43930 Assign: Fix unit tests.

The tests were expecting exact log data to match, I changed the data
but missed updating the test.
Merge branch 'MDL-41248' of git://github.com/timhunt/moodle