Add table to keep track of the DB schema version (ATR-20803)
This adds a table where we can keep track of the schema in programs writing or reading the database. This is useful when we need to update the schema and exact synchronization between software and schema update is difficult. Or where we have databases with different schemata.
cc @mark , @jpanduro , @jshinner for commenting
(note that the dev db schemata are already updated)