add hashCode and equals to Module.

This ensures that a set which collects modules only contains one
instance of the JodaModule.