Set and check for Baron database version during startup

Later we will need database conversion scripts to deal with future model changes.