class selectors don't work on SVG elements

SVG elements return an SVGAnimatedString, not a string, for .className.

Hopefully this is the first of several pull requests I make related to selecting SVG elements.

This is related to http://bugs.jquery.com/ticket/7584