Add primary key to version table

Add primary key to revision table.

Such key has following advantages:
1) Speedup while applying new migrations
2) Help tools that rely on primary keys (such as MySQL workbench)

This change is compatible with the old revision table structure, it only affects new schemas.