Git commits in Moodle 3.1.3 by Pau Ferrer Ocaña

commit 15e9f2138f83a2eeca2c92b8cf741bbf66938f4f
Author: Pau Ferrer Ocaña <crazyserver@gmail.com>
Date:   Tue, 13 Sep 2016 20:23:21 +0800
Tag:    v3.1.3

MDL-55951 output: Add errorcode to fatal_error when available