Fix a couple of issues in dragNodes

Ensure 'this' is related to the object.
Add compatibility with edgequadtree.
Enable drag if graph size=1.
Add killDragNodes and refactor the code