Grid Snap

Great way to control objects on a page. Added grid snapping functionality for objects. To control groups of objects within an SVG, include them within a SVG grouping <g> and make stateTarget = evt.target.ParentNode;