Max questions

For the site I've been working on, we'll have a large pool of 200 or so questions in each quiz, and users are required to answer a random subset of around 10-15 questions on each attempt, so they can have multiple tries without getting to know all the questions.  Just two patches, feel free to merge if you think others will find it useful.