Remove unnused "drawCommand" function.
Change Python-style to JavaScript-style comments.
Fix a bug in rgb2hex.

Small values would be converted to single-digit hexadecimal values
because of an incorrect length calculation.
More tweaks to comments.
Remove handles argument in curvePoint.

This argument is no longer used.
The snap function is now under g.math.snap.

The function is useful in its own right, not just inside the g.snap
filter.
g.ungroup is more resilient.

It can properly handle null values and non-shapes.
An Error is thrown when an invalid scope is provided. (wiggle node / delete node)
Fix typo in g.math.snap.
Add unit tests for g.math.snap.
Remove redundant comments.