Bug 932086 - Hoist <template> to head when found between </head> and <body>. r=hsivonen