Fix an issue when initializing the classList of a Component from a SVG element.
The className property of an SVG element is not a DOMString but a SVGAnimatedString, which has no trim or split functions.
Fix specs related to this commit d07b6f4687acc6899690fbe409280b7fde2f7704
Merge pull request #1487 from thibaultzanini/Fix-className-SVG-Element-Issue

Fix an issue when initializing the classList property of a Component from a SVG element.