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-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-44753 SCORM: add check during SCORM restore to make sure valid launch sco is set
Merge branch 'w14_MDL-44824_m25_subplugins' of https://github.com/skodak/moodle into MOODLE_25_STABLE
Merge branch 'wip-MDL-41102-m25' of git://github.com/marinaglancy/moodle into MOODLE_25_STABLE
MDL-44843 try to hack around strict locale names in OSX

Conflicts:
	lib/moodlelib.php
Merge branch 'wip-MDL-43398-m25' of git://github.com/marinaglancy/moodle into MOODLE_25_STABLE
MDL-34012 chat: removing repetetive db query (performance)
Merge branch 'm25_MDL-44753' of git://github.com/danmarsden/moodle into MOODLE_25_STABLE
Merge branch 'MDL-31262_25' of git://github.com/timhunt/moodle into MOODLE_25_STABLE
Merge branch 'MDL-41063_25' of git://github.com/jmvedrine/moodle into MOODLE_25_STABLE