move the ensureIndex() on the config collection to during reindex operations
Merge branch 'patches/mongodb-session-handler' into MOODLE_26_STABLE-local