Fix tests for parsing template elements inside XHTML documents

Because XML documents used in node-document.html and template-child-nodes.html to parse template elements
didn't have the default namespace set by xmlns, template elements were being parsed as elements outside
of the html namespace. Fixed the tests by explicitly setting xmlns attribute on the document element to
the html's namespace URI.

Also self-closed link elements in two XHTML documents inside the resource directory under html-templates
as they were encountering parser errors.