Properly handle SVGElement className properties in spliceClassList.
Use getAttribute('class') instead of className directly.
Use a regex instead of trim so we don't depend on trim in browsers that don't support it.
Merge pull request #37 from smallmultiples/svg-classlist

Properly handle SVGElement className properties in spliceClassList.