Git commits in Moodle 3.0.5 by Mark Johnson

commit 74526688a051df3b440f5c7efd3896fc68073bc3
Author: Mark Johnson <mark.johnson@open.ac.uk>
Date:   Tue, 28 Jun 2016 19:38:41 +0800
Tag:    v3.0.5

MDL-55041 roles: Fix JSON parsing in permission manager

commit 1ec4e9320ae1996a123cb59dd955e0244aec6701
Author: Mark Johnson <mark.johnson@open.ac.uk>
Date:   Tue, 31 May 2016 19:39:47 +0800
Tag:    v3.0.5

MDL-54180 Behat: Handle exceptions from driver when saving screenshot

commit a674b3659c1c1d50cfbd01dc8a6f86b7bb83d41c
Author: Mark Johnson <mark.johnson@open.ac.uk>
Date:   Tue, 10 May 2016 22:38:29 +0800
Tag:    v3.0.5

MDL-54110 repositories: Allow repositories to ignore post_max_size