Git commits in Moodle 3.5.8 by Mathew May

commit defe05cbcf3f4bd922f606789f219049ce9cba00
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Fri, 19 Jul 2019 11:01:04 +0800
Tag:    v3.5.8

 MDL-50733 core: Update composer to updated behat-extension

commit 71548acf7e3d891ed7032b3ce0083c0f2f3eb4e1
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Thu, 18 Jul 2019 10:47:18 +0800
Tag:    v3.5.8

MDL-65788 tool_policy: Move accept_policy JS call into an array

commit de75e7471dc55b72e236ebb154c1ee91145aff31
Author: Mathew May <mathewm@hotmail.co.nz>
Date:   Wed, 12 Jun 2019 15:24:48 +0800
Tag:    v3.5.8

MDL-65788 tool_policy: Prevent two modals rendering for guests.