SVG: add class for hover elements

Element.isNode() throws exception when examing classless hover elemements
Merge pull request #455 from qinfchen/hoverClass

SVG: add class for hover elements