MDL-39759 REST SERVER HTTP response code

Moodle should response 403 if web service or REST protocol not enabled
MDL-40674 - Main menu's "sub menu" should open to the left in RTL mode (theme/clean , bootstrapbase)
MDL-40716 - Activity labels are not visible in course completion report, when in RTL mode (theme/clean , bootstrap)
MDL-41891 Theme: Bullets and Numbering are missing from lists, When in RTL mode (theme/clean)
[MDL-44170] Added form field for url matched type.

Added a new mod_form field called urlmatchedtypeid which is populated
by mod_form.js when a matched url is entered. On save, if typeid is 0
and urlmatchedtypeid is supplied, the type id is set to the url matched
id.
MDL-44630: Several additions to Common Cartridge Import/Export

Changes provided by Darko Miletic and Sam Chaffee.

* Fix problem with CC import not detecting a CC package. (Sam)
* Fixed Common Cartridge not importing FIB answers. (Sam)
* Fix to CC export so that short answer pattern matching question
  in a quiz does not prevent the entire quiz from exporting. (Sam)
* Fix notice about missing index when there is no answer-specific
  feedback in short answer question during CC export. (Sam)
* Fixed Japanese characters being incorrectly encoded (garbled)
  on Common Cartridge import. (Sam)
* Changed import of CC discussions to create 'Standard General'
  forums in Moodle. (Sam)
* Fix problem with question name being replaced with question
  text on CC import of exported Moodle questions. (Sam)
* Fix CC 1.1 multiple choice question import having no correct
  answers. (Sam)
* Fixed problem with multiple choice, multiple answers allowed
  questions not exporting correct answers to CC. (Sam)
* Removed duplicate method. (Darko)
* Implemented fix that skips quiz export if it contains
  non-exportable question. (Darko)
* Fixed: Common cartridge export is extremely slow when dealing
  with lot of more than 200 files. (Darko)
* Added support for basic roles support in common cartridge. (Darko)
* Implemented folder resource export. (Darko)
* Minor fixes to adjust to the standard. (Darko)
* Added support for exporting simple fill in the blank
  (shortanswer without wildcards in Moodle). (Darko)
* Added support for exporting essay question. (Darko)
* Added support for true/false export. (Darko)
* Added support for exporting multiple response questions,
  added also category information into question metadata
  during export (Darko)
* Added support for correctly importing multiple response
  questions. (Darko)
MDL-44669: mod/assign: fix batchoperations JS when using select all checkboxes.
MDL-31679 gradereport_grader: Add a horizontal scroll bar to the top of the grader report
MDL-44575: Prevent cron from sending feedback notifications when assignments are hidden in the gradebook
Automatically generated installer lang files
MDL-44295 auth: Update truncate_userinfo to match current DB fields size.
MDL-44630: Review changes

* Fixing coding style violations.
* Fixing DOMDocument warning.
MDL-41123 report_completion: Add events to completion report

Replace add_to_log with user_report_viewed event
add a report_viewed event
MDL-44349 core_moodlelib: Improve word counting rules

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
MDL-44349 core_moodlelib: Add unit tests for count_words()

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
MDL-44977 tool_profiling: set xhprof default settings

Set xhprof default settings, even if xhprof is not installed.
If xhprof is not installed, hide profiling admin settings,
else show them.
This is needed, because if xhprof is installed, then it will
fail all non-js behats which navigate to setting under
site administration, as profiling settings get displayed on
default admin page.
MDL-44629 Assignment: add facility for displaying plugin-specific headers
MDL-44980 quiz statistics report : break down by variants failing

when there has only been one variant seen.
MDL-44981 quiz statistics report : Differentiating '0' and no response

in numeric questions.
Automatically generated installer lang files