Implemented unionWith for ErwigGraphs.
Implemented a helper function unionWithBy for the later use in unionWith on graphs.