Git commits in Moodle 3.1.4 by Eloy Lafuente (stronk7)

commit 41bb9ff743ddfafbaf3f39ee85295b474d7df60a
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue, 22 Nov 2016 23:21:02 +0800
Tag:    v3.1.4

weekly release 3.1.3+

commit 76075b34156a2770c6ce13c9a8f6c57ccac9ac4f
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Thu, 17 Nov 2016 09:13:02 +0800
Tag:    v3.1.4

MDL-57015 tests: Use preventResetByRollback() if test uses transactions