Git commits in Moodle 2.8.x by Davo Smith

commit 8781542c0f47a694b03f61280e9eef9f28be8cbe
Author: Davo Smith <git@davosmith.co.uk>
Date:   Thu, 20 Aug 2015 21:46:59 +0800
Tag:    v2.8.8

MDL-49826 gradereport_singleview: fix permission check

commit a4c72b69e8b9e32d0a1dd5c09797ac65a25ddb92
Author: Davo Smith <git@davosmith.co.uk>
Date:   Tue, 16 Dec 2014 06:00:37 +0800
Tag:    v2.8.2

MDL-43462 assignfeedback_editpdf: fix display of landscape PDFs

commit 463882d0856b20579c04bea3cb5f529585fac98c
Author: Davo Smith <git@davosmith.co.uk>
Date:   Fri, 27 Jun 2014 16:38:38 +0800
Tag:    v2.8.0-beta

MDL-46161 switch the field order of the index on mdl_files_reference to improve performance of file_storage::search_references