experimental svg support

Hi,

I'm trying to make it work with image links inside SVG elements.
I've added an option in settings and the required javascript.
Currently it works for single images only (cannot navigate in a gallery).
I've tested it on Chrome, Safari and Firefox.