add a delete folder method to folder
updated delete method in client
refactor code for when the foldertree is updated

finished writing tests for deleting folder
added some new ones to ensure folderTree is updated properly.
Merge branch 'feature/delete_folder' into develop