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-44630: Review changes

* Fixing coding style violations.
* Fixing DOMDocument warning.
MDL-45201 recent_activity: Fix set type notice in recent activity form
MDL-45414 wiki: fix broken image
MDL-45373 quiz response analysis : count all tries at question

don't filter repeated tries.
MDL-45429 block_glossary_random: check capability before suggesting to edit
MDL-45338 editor_atto: Correct gesturemoveend listening

Delegate gesturemoveend rather than listen to ensure adequate event filters
and that we apply to only the correct editor.
MDL-45357 events: removed unnecessary verb from description
MDL-45357 events: Improve clarity of allow role change descriptions
MDL-45357 events: Normalise event description names
MDL-45357 events: Remove unnecessary the before 'id' in event descriptions
MDL-45290 rubrics: overflow, delete button alignment

Adjusted delete button alignment, restored overflow rule, amended button alignment, minor RTL fixes.
MDL-45357 events: unittest correction, event description change
on-demand release 2.7rc1+
MDL-44630: Fix CC backup of quizzes

The common cartridge backup was skipping
quizzes because the <questions> element
is no longer in the Moodle backup file.
Instead, now reading from the list of
<question_instances> list.
MDL-45231 theme_clean: navbar is absolute when running behat in IE
MDL-45410 Merge English strings from the en_fix language pack
MDL-45387 core_form: erroneous escaping on reference list

Fixed erroneous escaping in JS.
MDL-45439 reports Don't send contextlevel to legacy logging.

It doesn't support the column.
Merge branch 'wip-MDL-45429-master' of git://github.com/marinaglancy/moodle