MDL-43266 Testing sites are cleaning all test dataroot contents
MDL-43247 SCORM: improve pop-up handling and redirect to homepage on close.
MDL-37733 SCORM: Correct check for force new attempt
Merge branch 'm26_MDL-37733' of git://github.com/danmarsden/moodle into MOODLE_26_STABLE
Merge branch 'm26_MDL-43247' of git://github.com/danmarsden/moodle into MOODLE_26_STABLE
MDL-44334 lockscroll: Fix wrong warning message
MDL-43266 testing: Removing duplicated keys
Merge branch 'MDL-43266_26-last-fixes' of git://github.com/dmonllao/moodle into MOODLE_26_STABLE
MDL-43266 testing: avoid assoc arrays for json

Last commit switched from raw arrays to associative
arrays. That leads to json_encode() to generate an
object instead of an array, ultimately leading to
problems with the rest of code expecting an array.

By using array_values() we are moving back to the
non-associative array.

Also, fix some file permissions.
weekly release 2.6.2+
MDL-44299 resolve collision with session_gc() in PHP 5.6
MDL-44300 force PHP 5.6.x to return raw file names for our own guessing