php: extended DOM Objects (DOMAttr, DOMElement, DOMNodelist, DOMNamedNodeMap) via DOMDocument::registerNodeClass with jQuery-like functionality