Added defs

Added def _get_lesson to AssignmentSubmission and def _get_assignment to
GradedAssignmentSubmission.