Completed method getGradeDefinitions in class MoodleRestGrade. No testing on return of warnings through call by reference, testing did not return any warnings.