Git commits in Moodle 3.1.x by Eugene Venter

commit 2395ad0dbc57caabe288e07541442ac31723cbf7
Author: Eugene Venter <eugene@catalyst.net.nz>
Date:   Tue, 01 Nov 2016 05:10:21 +0800
Tag:    v3.1.3

MDL-52216 mod_lesson: prevent invalid view modes

commit d01cdc51720da04a5e0e7811d3d18cdf446f31ca
Author: Eugene Venter <eugene@catalyst.net.nz>
Date:   Fri, 19 Feb 2016 06:13:38 +0800
Tag:    v3.1.0-beta

MDL-53166 mod_forum: fix fatal error in backup phpunit test

commit 8ef4fbc64f8dd93bc8d4b729781a1b5df6cda443
Author: Eugene Venter <eugene@catalyst.net.nz>
Date:   Wed, 16 Dec 2015 12:16:27 +0800
Tag:    v3.1.0-beta

MDL-52530 unittest: more robust capability assignments for guest