Xmldb bug fixes

Made getNamespacesAndEntities publically accessible. Fixed bug in
addNodeByName.
On move_node, pass "pos" instead of obj.index()

Sends correct index to delta update.
Changed context menu create labels.
Added create_node override

Creates the correct <li> html. Also enabled deleting and renaming of
nodes.
Removed console.log
Added edit focus to newly created elements
Made sure newly created elements go "inside" the parent
Fixed old_ins null errors, added 'end_edit' trigger.
Blocked delta updates until editing has ended.
Fixed typo in "changed_nodes"
Fixed null new_ins bug
Fixed bug cleaning up after delta updates

clean tree and set jstree-open classes correctly.
Prevented circular reference for nodes with: node_id != target_id