Add SVG support

The SVG support is used if the documentElement's tag name is "svg". I also made a demo page, it was tested in Chrome and Firefox, but it works a bit better in Firefox.