Move listening events for dragging to SVG element.

This is so that we can extend the code for drawing new sub-elements in
the future.

	modified:   svgwidgets.js
Streamline event listeners.

Only activate onmousemove and onmouseup after an onmousedown event.

	modified:   svgwidgets.js