Modify Visitors::Dot's API to use collectors

This makes the API consistent with `Arel::Visitors::Reduce` and its descendants.