Fix hashCode() and equals() for AutoRefTeam

Should be based on fixed values. Using getPlayers() in
hashCode() means that team lookup fails if the members
of a team changes, causing problems for the vast
majority of AutoReferee.