Added text and tspan node handling

Requires commits from the svg.js project.