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

Opening for pre-review and Travis

Fixes #8834 
not quite --- IE9 doesn't have history, but does have SVG interfaces