Compares the editFeature with the corresponding feature in the data store (The feature with the
same fid) and replaces the old feature with the edit feature. If the feature is a new feature
then the feature is added to the datastore.
author: jeichar since: 0.3