generators/dom: add styles to the root component's document
generators/dom: add styles to the root component's document

1. store the _root's ownerDocument and inherit it in all child components
2. use this document when adding the styles
3. store a css presence flag on the document

sveltejs/svelte,sveltejs/svelte