Support for reading 2.1 log files and upgrading from 2.1 store files

We use X.Y.Z so for the moment it should be fine. Moreover we do an explicit test that the old and new version have the same 'length'. On the other hand if you have a better idea I am happy to change it.