Fix DOMImplementation and ParentNode interface

My fork seems broken so this is a pull from a branch on toolkitchen/ShadowDOM