Merge "Implement adoptNode() and importNode()."