add class manipulation functions to Element

adds the following methods to SVG.Element child classes:

* `classes`: returns an array of classes on the node
* `hasClass`: returns true if the node has the class, otherwise flase
* `addClass`: adds a class to the node
* `removeClass`: removes a class from a node
* `toggleClass`: toggles the presence of a class on a node