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

Opening for pre-review and Travis

Fixes #8834 
Actually, I see the regexp is smarter about this --- but should still add a test for this anyawys