MMIO: Cleanup Mapping class by using templates instead of macros.
Merge pull request #605 from neobrain/mmio_cleanup

MMIO: Cleanup Mapping class by using templates instead of macros.