Paste positioning

This implements auto-connecting and auto-positioning for newly pasted nodes. Most of the work is done in the new GraphLayout methods connectNodes() and positionNodes().