refactored quiz.rb (with a couple of side-effect refactorings thrown in)
refactored question class, added ImageUpdateHelper