Bug fix: deleting of nodes.

* When node has child nodes and all child nodes are in deleted or
  deleting state, then server send node_destroy command now. Thus
  e.g. avatar node is destroyed, when somebofy else knows about
  this node.