added support for clock domains in DRAMSIM2 so that we can do DDR2 easily, also fixed a pretty big bug in the address decoder