Optimization in KDE-PIM
Add a less aggressive cache invalidation method to ResourceBase.
clearCache() just deletes everything, which is way too much, we lose
ids and unchanged already cached content this way. invalidateCache() only
drops cached payloads, no longer existing items/collections are removed
by Item/CollectionSync already anyway.