Git commits in Moodle 3.1.2 by Eloy Lafuente (stronk7)

commit 4eeb5e469b0d00af7a0d0a158cbf0a21f6753196
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Thu, 21 Jul 2016 17:45:14 +0800
Tag:    v3.1.2

weekly release 3.1.1+

commit 539b53d611adf200157a015ed644d657156155ed
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue, 19 Jul 2016 07:48:02 +0800
Tag:    v3.1.2

MDL-52544 oracle: small tweaks

commit 20474552ac1849d43043c86b64b7753082e9930d
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Wed, 13 Jul 2016 00:05:32 +0800
Tag:    v3.1.2

MDL-53803 mod_choice: fix trailing whitespace

commit 3b9f7d90d0c84d94f8ca58b75e12394bb36c5306
Author: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Date:   Tue, 12 Jul 2016 19:26:46 +0800
Tag:    v3.1.2

MDL-37250 mod_lesson: Move conditions to queries for better performance