Remove deleted versions from the cache

Since the cache updater doesn't work outside the users home directory for now (see https://github.com/owncloud/core/issues/9496) we need to do it manually

cc @PVince81 @DeepDiver1975 @schiesbn