Added setNodeAndOffset, which should *always* be used when modifying the node (it's not strictly needed for changing the offset). If the position is being tracked, this removes the event listeners from the old node, and adds them to the new one. Without using this, a position whose node is changed could lose track of where it is in the document if subsequent modifications to the DOM tree are made.
Added setNodeAndOffset, which should *always* be used when modifying the node (it's not
strictly needed for changing the offset). If the position is being tracked, this removes
the event listeners from the old node, and adds them to the new one. Without using this,
a position whose node is changed could lose track of where it is in the document if
subsequent modifications to the DOM tree are made.

corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor