Mostly update edges to track their vertices better. Add optional compare function for adding a vertex, standard SplObjectStorage rules still apply.