Added equals and hashCode implementations for UserImpl.

Users are equal if their usernames are the same; so only compare them on that count.

Note: these two methods are required to properly use getUsers().contains(User) (which is currently used in DevHub).