Added equals() and hashCode() to Trade

Explicit equals() is needed, for example, to merge trades lists.