Fix new specs so they pass in IE8
Make sure template nodes are created/moved within the correct document context.