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.