Move visual DOM manipulation into RenderShadow...

...because only the shadow renderer needs to be able to do this.