Support class API for SVG nodes on browsers implementing classList API

SVG node className is an SVGAnimatedString, an object containing readonly
properties. Enabling the use of the classList API for SVG nodes should enable
classes to be added with a minimal performance cost.