fixes ISSUE-44892: on DB creation config scripts are applied in two steps
When creating database, the database model was created in two steps:
- model creation without taking into account config scripts
- config script changes (model and data) were applied
This can cause different problems.
Now the process is more like:
- read in memory model without config script changes
- read config script model changes and apply them in memory model
- create complete model in DB
- read and apply data in DB without config script changes
- read and apply in DB data config script changes