Fix SQL error in QuizQuestion::hasBeenAnswered().
Update AccessHelper::canTakeQuiz() to use quiz entity instead of node.
Rename $question_number => $page_number.
$quiz_id is not needed