fix restore from files in sub-folders
fix delete files from trash bin
set delete all to true if a complete folder was deleted
check explicitely all possible dir values
Merge pull request #6148 from owncloud/fix_trash_restore

Fix restore anbd delete operations in trash bin