Git commits in Moodle 3.6.x by Luke Carrier

commit 6b6fd4b0b7e8983a96463763f925398b5af35082
Author: Luke Carrier <luke@carrier.im>
Date:   Thu, 18 Jan 2018 19:54:28 +0800
Tag:    v3.6.0-beta

MDL-61238 cohort: require_once all libraries