delete all children's previews when deleting a folder

please review @PVince81 @karlitschek 
fixes https://github.com/owncloud/core/issues/10484