magit-discard-files: support deleting untracked directories

Teach `magit-discard-files' and `magit-discard-files--delete'
how to delete directories which only contain untracked files.  We use
`dired-delete-file' to do the job and respect `dired-recursive-deletes'.

Fixes #1489.