Merge pull request #20 from bgamari/master

A few fixes for GHC 7.8
Add Metric instances for IntMap, Map, and HashMap