addEdge can now handle multiple edges in one go.
Minimize reallocs in indexEdges.
Improve the solution for adding multiple edges in one go.

This offers a new method for globally recalculating the
_sum{Head,Tail} arrays as well as an alternative sort
method for _index{Head,Tail} based on standard sort
instead of insertion sort.