MDL-40230: New Outcomes System

Configuring New and Legacy versions of Outcomes

* New outcomes system now toggles with $CFG->core_outcome_enable
* Added a new admin setting to toggle both $CFG->core_outcome_enable and $CFG->enableoutcomes
* Renamed old outcomes system to "Legacy outcomes" to avoid confusion if both are enabled

Outcome administration and mapping

* Added outcome as a core subsystem
* Added core_outcome to phpunit.xml.dist
* Added basic CRUD for outcome sets and their outcomes
* Added unit tests for most everything under outcome/classes/
* Added mapping of outcome sets to courses
* Added mapping of outcomes to questions
* Added mapping of outcomes to activities
* Added mapping of outcomes to rubrics
* Added new event: question_edited - fires on question edit
* Added new form element (MoodleQuickForm_map_outcome) to map outcomes to content
* Added new form element (MoodleQuickForm_map_outcome_set) to map outcome sets to a course

Outcome Set Import and Export

* Added Achievement Standards Network (ASN) outcome importer
* Added General Moodle export of outcome sets
* Added General Moodle import of outcome sets
* Added Academic Benchmarks outcome set import plugin

Outcomes attempts and marking

* Added outcome attempts to rubric
* Added grading form outcome attempt support for mod/assign
* Added course reset support for grading forms in mod/assignment and mod/assign
* Added default activity outcome attempts (Syncs with grade item)
* Added recording of outcome attempts from question attempts
* Added $CFG->enableoutcomes checks
* Added a link to new outcomes under course administration
* Added course outcomes overview screen
* Added course outcome marking table

Outcome backup and restore

* Added backup and restore of outcome areas in questions, activities and rubrics
* Added backup and restore of outcome used areas and outcome attempts
* Added backup and restore of course used outcome sets
* Added backup and restore outcome marks and marks history

Outcome course reports

* Added course Activity and Performance report
* Added course Unmapped Content report
* Added course Coverage report
MDL-40230: BACKPORT Remove @author tags
MDL-40230: BACKPORT Refactor for autoloading
MDL-40230: BACKPORT Moved outcome admin setting
MDL-40230: BACKPORT Moved outcome pix and CSS
MDL-40230: BACKPORT Move outcome cron to main cron
MDL-40230: BACKPORT Move outcome admin setting link out of tool
MDL-40230: BACKPORT Improving PHPDoc
MDL-40230: BACKPORT Convert to Shifter compatible modules
MDL-40230: BACKPORT moved tests
MDL-40230: BACKPORT rubric bug fix
MDL-40230: BACKPORT RTL fixes
MDL-40230: MASTER Modify core upgrade and remove tool_outcome
MDL-40230: MASTER Add outcome plugins as standard plugins and added version.php files
MDL-40230: MASTER Refactor to use moodle-core-notification-dialogue
MDL-40230: MASTER Removing deprecated code
MDL-40230: MASTER Removing deprecated events_trigger
MDL-40230: BACKPORT Quiz/Question Updates
MDL-40230: BACKPORT PHPDoc and comment updates
MDL-40230 renamed the question_edited event to question_updated