make MapDependencyGraph into a record for easier printing and general use

It looks like `tools.namespace` made [the same change](https://github.com/clojure/tools.namespace/commit/5808dc124c7bf0cfc06c2c84ab2c1e16cc9d6cea) as well.  Any objections to having this be a record?