Fixes issue #30 : Non empty folder can not be deleted in Nuxeo. Replace delete by deleteTree for Folder object type