dom/node: make #replace semantics consistent with #add_child
dom/node: use #<< internally instead of #add_child