[VersionSystem] Unique versionID introduced

* previous versionID became versionNumber
* versionID is now primary key of version table