Correcting support of text nodes(Issue #3)

Correction of Issue #3 by adding support of text and tspan nodes.
Requires changes made to the svg.js project