MDL-29004 Wiki: display images in printer-friendly view
MDL-41057 csslib: CSS optimiser improvements.

This commit makes the following changes:
* Tidies up coding style.
* Tidies up phpdocs.
* Improve CSS optimiser unit tests to cover browser hacks.
* Improve backgound style consolidation.
* Improve border style consolidation.
* Fixed optimiser to handle browser hacks like *zoom.
* Improved @ rule unit tests.
* Fixed @rule breakages caused by OS specific rules.
* Added more unit tests to cover a bit more CSS3.

I am pretty sure this patch will now enable to optimsier to
work on bootstrap based themes should developers not wish
to compress thier compiled less CSS.
MDL-32191 navigation: Add keys to module and block settings nav nodes

Conflicts:
	lib/navigationlib.php
MDL-35380 SCORM: improve check for imsmanifest file and consolidate into a single function.
MDL-41291 cache: Use fread to avoid race conditions
MDL-36803 TinyMCE: Fix TinyMCE following touch events on iOS browsers
MDL-41040 event: Level property uses defined event constants
MDL-36690 Do not cache objects inside course.modinfo as they may fail to serialize

convert moodle_url (all other fields are numbers or strings) to string before caching and then back to moodle_url when restoring.
Otherwise serialized modinfo can contain \0 byte which cause problems in Postgres DB
Merge branch 'wip-MDL-32191-m26' of git://github.com/samhemelryk/moodle
Revert "MDL-39876 update_course_record function to update global COURSE"

This reverts commit c290ac5510ca06b3eae557c2165c2f106dde46aa.

Conflicts:
	course/lib.php
Merge branch 'wip-MDL-36690-master' of git://github.com/marinaglancy/moodle
Merge branch 'master_MDL-35380' of git://github.com/danmarsden/moodle
MDL-41143 course: Missing formslib required for constant use
Merge branch 'MDL-41040-master' of git://github.com/FMCorz/moodle
Merge branch 'MDL-41143-master' of git://github.com/FMCorz/moodle
Revert "MDL-39876 Change get_record('course') calls to get_course"

This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
Merge branch 'wip-MDL-41057-m26' of git://github.com/samhemelryk/moodle
MDL-41057 csslib: Adding a version bump to clear css caches
MDL-41191 add more test data to trigger duplicate course records
MDL-41191 mod_forum: avoid DISTINCT on TEXT columns

It is not supported by all db engines