MDL-40716 - Activity labels are not visible in course completion report, when in RTL mode (theme/clean , bootstrap)
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-44575: Prevent cron from sending feedback notifications when assignments are hidden in the gradebook
MDL-44295 auth: Update truncate_userinfo to match current DB fields size.
MDL-44630: Review changes

* Fixing coding style violations.
* Fixing DOMDocument warning.
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-44468 backup: use notification API

Replace a hardcoded div.notifyproblem with a API call that,
in Standard theme, outputs the same HTML.

Also removes the .notifyproblem class from the heading,
as that might cause problems for themers who expect it to be
used consistently with the API.
MDL-44468 backup: use  html_writer::div call

Simplify the renderer code with the new html_writer
div function.
MDL-45010 mod_chat: Use H3 instead of H2 in recent activity info
MDL-44619 behat: Helper to init contexts outside behat
MDL-44619 behat: filemanager field manager

Enough to allow attachments use in multi-field steps.
MDL-44619 behat: Converting MDLQA-8

In a standard forum, students can start discussions
add replies and attach files to their posts.
MDL-44979 behat: no need to purge all cache again
MDL-45045 block theme: Fake blocks show empty region when editing and clicked.
MDL-43145 dock: fixed up region_completely_docked code to ignore empty regions
MDL-43145 dock: Enable regions before the drag operation starts
MDL-43626 survey: Addition of additional names to survey.