display: scope SVG's style elements so they do not leak

When multiple SVG figures are inlined in the same DOM, they
share the same css namespace. This patch, scopes each SVG's style
block so it does not leak into other figures.

Should help fixing #1866

---

Please see #1866 for the discussion.
(This pull request needs an accompanying patch on ipython-components)