[TREELIST] Rework trelist_delete_item() to fix many issues.
[TREELIST] Rework trelist_delete_item() to fix many issues.

 * Now all code which may potentially send a notification, is moved
   before disconection of the item being deleted.

 * In particular, selection is changed before the deltion starts.

 * The notification MC_TLN_DELETEITEM is now guaranteed to be last
   notification fired for the given item (and its subtree).

 * Some paint glitches fixed. (When deleting last child of a parent or
   when deleting tail child.)

mity/mctrl,mity/mctrl,mity/mctrl,mity/mctrl