svg.import.js - correct Text and Gradient element handling.

Added correct support for white space handling in case of Text element import.
Added a fix in case of gradients for a bug that caused import fail in case of white spaced SVG documents.

Note: At the end there was no need to do changes in the import plugin to make it compatible with the svg.textwrap.js module.