Git commits in Moodle 3.4.2 by Dan Marsden

commit 5bcc32e756b4a80c92612c5bc1975b7f649f31ae
Author: Dan Marsden <dan@danmarsden.com>
Date:   Thu, 01 Feb 2018 15:58:31 +0800
Tag:    v3.4.2

MDL-60421 tool_cohortroles: fix deprecated call.

commit 5e35fa16d554aac0554208312f17bced2d841a3e
Author: Dan Marsden <dan@danmarsden.com>
Date:   Mon, 11 Dec 2017 10:33:15 +0800
Tag:    v3.4.2

MDL-61005 core_cohort: Allow teachers to view site-wide cohorts