Git commits in Moodle 3.1.x by gthomas2

commit ef79f0506700ac79e13a659d68954e9f4219b65e
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Mon, 27 Feb 2017 21:49:37 +0800
Tag:    v3.1.6

MDL-58092 grading methods: Fix double escape for freq used questions

commit 35ce557a91b7cb743e3d81226ef4105db0da5566
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Mon, 19 Dec 2016 21:26:30 +0800
Tag:    v3.1.5

MDL-57452 behat: Make completion check work with manual completion input

commit 1df4dfe56038dc13fecc59f392919428d0a9af1c
Author: gthomas2 <gthomas@moodlerooms.com>
Date:   Wed, 24 Aug 2016 00:40:03 +0800
Tag:    v3.1.2

MDL-55312 requirejs: Fix timeouts with infinite waitSeconds