Remove unneeded variable
Add tests for QgsVectorLayerCache
Fix: emit committedFeaturesAdded and committedFeaturesRemoved
Fix: Check for existence of data provider to prevent segfault