Git commits in Moodle 2.4.8 by Andrew Nicols

commit 076792a3f1cd34c368d1981448d5966b67300ad2
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Mon, 23 Dec 2013 09:26:25 +0800
Tag:    v2.4.8

MDL-43411 JavaScript: Correct checks for section support to use helper function

commit 05c42f75399457ca4939350eb2b0428c7b9333e3
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri, 13 Dec 2013 11:06:17 +0800
Tag:    v2.4.8

MDL-34182 Repositories: Check for and warn on invalid output in the file picker

commit 05ca6dadf8b9b4db3c06f4b3207d2cca4d5e603f
Author: Andrew Nicols <andrew@nicols.co.uk>
Date:   Fri, 13 Dec 2013 10:53:26 +0800
Tag:    v2.4.8

MDL-34182: Add functions to warn of output in AJAX scripts