Refactored overlay.js
Do not query for treenode tags if these are not to be displayed.
Apparently the request variables are pure text, and "false" is then
a non-empty string, which is truthy in python.
Remove debugging statement.
overlay.js: fixes to documentation.
overlay.js: fixed goToNearestOpenEndNode ('R' key binding)
Fixed documentation for tree_util.edge_count_to_root
TYPE_NODE and TYPE_CONNECTORNODE are no longer global variables,
but members of SkeletonAnnotations.
Fix issues with staticSelectNode, and also ensure that all moves update the database.
Note that moving a node or connector does not update the database; only when
moving away to a new section or to another location is the update pushed.
Therefore all the moves that didn't subsequently call updateNodes
were not pushing the update to the the database. In all cases found that
was not the case, but it was possible.
Simplified overlay.js updateNodeCoordinatesInDB.
overlay.js: fix error, wrong argument name.
Overlay.js: fixed tag box.
overlay.js: fix error in checking for tracing modes when clicked.
overlay.js: when creating a new node, append to the parent and recolor the latter.
Object Tree: query list by POST, not GET (which can get cached).
Remove tool-specific code from project.setTool to the tool's register function.

Still pending: tool-specific code in project.destroy()
Formatted a few lines in project.js
overview.js: safer SVGOverlay.destroy method.
Timeout-free selection of a skeleton node when "URL to this view",
and perform one single repaint, not 3, of the SVGOverlay.
The first two of these repaints were for the whole section area,
potentially pulling thousands of nodes from the database.
Merge remote-tracking branch 'origin/master' into overlay-refactor

Conflicts:
	django/applications/catmaid/static/init.js
overlay.js: fix errors in updateNeuronName, goToLastEditedNode, and findConnectors.