Insert() methods check for inserted XML to be in the same doc...

Insert() methods check for inserted XML to be in the same doc, and remove XML from old location if already inserted.

Complete with test cases.