treeview: Fix logic while moving/copying items, other small fixes
treeview: Fix logic while moving/copying items, other small fixes

France-ioi/commonFramework,France-ioi/commonFramework,France-ioi/commonFramework,France-ioi/commonFramework