Add option to suppress XML preamble in toSVG method.

I had trouble serializing the output of toSVG until I removed the XML preamble.