Copying classList.js to svgclasslist.js
Modified classList.js code to svgclasslist.js

(older) WebKit browsers have support for inline SVG and for classList,
but don't have support for classList on inline SVG elements.

What's more, .className on <svg> element returns "[object
SVGAnimatedString]".

Even worse, this issue only seems to affect SVG elements already in the
document. Creating a new one (using document.createElement('svg')) seems
to have classList.

This issue affects Safari (tested version 5.1 on Windows) and Android
browser. Probably affects other WebKit browsers too.

This issue does not affect Chrome, Opera or Firefox. These browsers work
correctly.