Adds more SVG helpers.

Adds/improves wrappers for text and rect elements in SVG.
Removes intermediate helpers.

Adds methods directly to the DOM element prototypes.