add hashCode and equals to Module.

This ensures that a set which collects modules only contains one
instance of the JodaModule.
Merge pull request #26 from hgschmie/master

add hashCode and equals to Module.