Implement equals and hashCode

Resource adapters have to implement equals and hashCode.

http://stackoverflow.com/questions/12359287/why-does-java-ee-6-require-equals-and-hashcode-to-be-implemented-for-resourc
Merge pull request #1 from marschall/equals-hashCode

Implement equals and hashCode