Cope with recent intermittent test failures.
Follow-up on SVG test case failures with IE.
Follow-up on declarative event's test failure with IE.
Move some template-related methods to <template>.
Temporary change for Sauce.