Added support for overriding xml namespace.

It was required to allow embedding HTML foreignObjects inside SVG