Add hashCode() and equals() implementations

both based on the result of getAlgorithmIdentifier as this method uses
all relevant components and represents them in a comparable form.
Add JaxB serialisation test
Add EcParameterSpecAdapter
Merge pull request #23 from alexfupp/serializeDomainParameterSetEcdh

Serialize domain parameter set ecdh