Fixed Member#equals(), compareTo() and hashCode()

equals() and hashCode() were implemented using super, which is
wrong because Member is derived directly from Object.
compareTo() did not handle userID == null correctly.
Conversion of the userID to lowercase is now performed in the
constructor and setter. Added some missing tests.

Change-Id: I4c265021921809cb6e3655b2fda4be6f3d36de88
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
2 files changed