Check if the parent is writable to check if a file is deletable
Check if a folder is deletable before we try to recursively delete it
Also check if the file itself is updatable
Fix mapping of relative paths
Merge pull request #10622 from owncloud/recursive-delete-forbidden

Fix isDeletable