Add hashCode and equals to DatabaseModule so that you can harmlessly double-install a DatabaseModule

...ble-install a DatabaseModule