[[WIP SVG DIRECTIVES]] auto directives to work around browser inconsistency with FuncIRI attributes & <base>

Opening for pre-review and Travis

Fixes #8834 
does `$loc.$$html5` need to be tested here? it's checked before the event handler is set up isn't it?