Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz
Bug 1007743 - Update flattened tree to correctly handle nodes distributed into Shadow DOM insertion points. r=smaug