Added Endpoint implementation class to Token; Implemented hashCode() and equals() methods on Token.
Added Unit Tests for registration token. Also made minor cosmetic change to TokenFactory
Fixed missed @Test annotation for Test Hashcode test in TokenTest
Added Unit Tests for Endpoint