Move ResultHelper::maintainResult() to Result\Maintainer class.
Clean up QuizEntityController.
Clean up QuizResultTestCase.