Issue #73: First try.
Trying to fix broken tests.
Fix broken test LongAnswerUnitTest.
Fix broken MultichoiceTestCase.
Fix bug: quizentity.resultoptions are not saved.
Avoid php warnings.
Fix QuizPageTestCase.
Fix ScaleTestCase.
Fix ShortAnswerUnitTest.
Fix TrueFalseUnitTest.