QgsVectorLayerCache: include edit buffer changes as well