Override document.{body,head}.{appendChild,insertBefore,replaceChild,removeChild}

To be able to support this the Node methods can no longer call
`this.impl.appendChild` and instead we call `originalAppendChild.call`.