MDL-28261 Javascript: Check for a working connection in SCORM activities
MDL-44719 libraries: Invalid call to ajaxenabled()

A bad conflict resolution in 7eaca5a810123746cdc69bf04dc7dc32a13533bc
wiped this function from the deprecatedlib file. This patch
restores it.

But as we should not call any deprecated function in core we
also remove the its usage.
MDL-44824 add missing subplugin type names
MDL-44824 add missing subplugin type names
MDL-44824 add missing subplugin type names
MDL-43398 Wiki: Choose... options cause SQL errors or seen inappropriate.
MDL-43398 wiki: remove extra Choose... option from select
MDL-44772 editor_atto: Initial height of editor matches textarea's

We set a min-height and a height in JavaScript to force the editor
to start at a certain height, but then it can be expanded thanks
to the CSS property resize. Though as IE does not support the resize
property we ignore we do not set a height so that the editor expands
as we type.
MDL-42816 auth_manual: Add password expiry for manual auth method
MDL-24408 extra_answer_fields : get answers even if they miss extra data

Extra answer data may be optional, saving DB space - i.e. not every row in
question_answers will have respective row in extra answers table. Current
implementation of question_type::get_question_options() won't return such
answers at all. This commit fix that, changing join type for db query.

Also fixed coding style violation in the variable name in get_question_options.
MDL-24408 extra_answer_fields: loading data to the question editing form

Now question_edit_form can load extra answer fields. If a question
type need to do something more complex for particular field, it
can overload added functions without duplicating other code.
MDL-24408 extra_answer_fields: save_question_answers function

question_type::save_question_answers function added, supporting
saving answers and extra answer fields. It can be called from
save_question_options function for the questions, using
question_answers table. Special functions created for overloading
so that every question could tune it to it's own form.

Shortanswer qtype save_question_options() converted as a proof of
concept and for testing purposes.
MDL-24408 extra_question_fields: separate answer data creation code

Now any question using extra_question_fields can overload make_answer
(just as make_hint), instead of overloading whole initialise_question_answers.
MDL-44843 try to hack around strict locale names in OSX
MDL-44832 Assign: Convert grading menu to a moodle action-menu

This is required because YUI broke something.
MDL-34012 chat: removing repetetive db query (performance)
MDL-41102 report_performance: correctly check state of automated backups

Thanks to Renaat Debleu for the patch
MDL-31262 fix quiz review capability check.

This change is logically the same as changing
    $this->has_capability('mod/quiz:viewreports')
to
    $this->has_capability('mod/quiz:viewreports') || $this->has_capability('mod/quiz:preview')
in the original code. However, I rewrote the logic so that we test the
most common and performance-critical case first - that of a student
lookign at their own attempt.
MDL-41063 Lesson qformat_default class is missing an error function
MDL-44756 editor_atto: changed a string