If the assessment service does not set the obligatory max_points, the response is considered erroneous. Also some cosmetic changes. Also, moved the get_course_instance method from BaseExercise to LearningObject.