Git commits in Moodle 2.3.7 by Tim Lock

commit 7dc59651b05b8f93a17f950795658c75d1fc936c
Author: Tim Lock <tim.lock@netspot.com.au>
Date:   Thu, 28 Mar 2013 08:45:23 +0800
Tag:    v2.3.7

MDL-35868: quiz: Use correct attemptnumber when a last attempt exists.