Node#remove
Working with Attr instances is deprecated
Fix toDOMAttr handling
Document#normalize returns DOMDocumentFragment

Additionally support for attribute objects handling was removed
(it's already deprecated by spec)
Fix replaceContent