MDL-37973 gradebook Return a maxgrade of '-' if grade type is TEXT

Including tests for correct return from
grade_edit_tree_column_range->get_item_cell()