SVG Support (especially in Firefox)

When using tipsy on SVG elements in Chrome, it appears in the top-left corner of the element instead of in the middle. In Firefox, the tooltip appears at the top of the page, nowhere near the element in question. This patch tries to use the SVG methods for positioning and falls back to the standard position algorithm if that fails.