delete all children's previews when deleting a folder

supersedes https://github.com/owncloud/core/pull/10634

please review @LukasReschke @DeepDiver1975 
fixed