Implement more of the HTML Template and ShadowDOM spec to add support for multiple templating and advanced projection.