Git commits in Moodle 3.1.3 by Damyon Wiese

commit 53ee4f0635bcbc8178fb3e97ee27d337e1cefd26
Author: Damyon Wiese <damyon@moodle.com>
Date:   Fri, 04 Nov 2016 12:52:38 +0800
Tag:    v3.1.3

MDL-56673 tool_templatelibrary: Don't show templates from other themes

commit 0d5d8ee56a31b8b575d0720f1e6106052f9323e2
Author: Damyon Wiese <damyon@moodle.com>
Date:   Fri, 30 Sep 2016 12:37:13 +0800
Tag:    v3.1.3

MDL-45969 editpdf: The logic for showing a previous attempt is wrong

commit 30c5f7d5e28102ca3944e152dba4066dea8f250b
Author: Damyon Wiese <damyon@moodle.com>
Date:   Wed, 21 Sep 2016 12:20:28 +0800
Tag:    v3.1.3

MDL-56052 block_settings: race condition