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-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-43312 TinyMCE: Version bump to 3.5.10. Remove all the hacks.

I retested the old bugs that required custom hacks to tinymce and could not reproduce them,
so I have not reimplemented the hacks.
MDL-45425 editor_atto: Check for change selections asynchronously
MDL-45282 core_user: fixed up some oddities in the bulk user messaging screen
MDL-43119 Add valid until dates for tokens created by login/token.php

3 months were decided
MDL-45126 do not allow guests see name and summary of hidden course
MDL-45319 events: trivial changes
MDL-45319 events: set the relateduserid when triggering the user_created/updated/deleted events
MDL-45319 events: added debugging messages for missing relateduserid value
Merge branch 'MDL-45410-en_fix' of git://github.com/mudrd8mz/moodle
Merge branch 'MDL-45282_message' of git://github.com/andyjdavis/moodle
MDL-45398 Manage availability restrictions: Show/hide not working

The show/hide icons were not working correctly. In addition, the
report still displayed even when availability feature was turned
off.

As well as fixing them, I added a Behat test to cover this report.
Merge branch 'wip-MDL-45319-master' of git://github.com/marinaglancy/moodle
Merge branch '45231-27-3' of git://github.com/samhemelryk/moodle
MDL-45449 Availabillity settings - new visible/hidden control (eye icon) is hard to spot

This change makes it use a larger icon.
Merge branch 'MDL-45449-master' of https://github.com/sammarshallou/moodle