Replace Pending with Version

Normalized modifications made to the versionable entities are stored in the changeset property.
The real changeset and snapshot are calculated later by the refresh command.
Effectively, pending versions are not created if the provided snapshot is empty.