Add schema version checking in the Stork server and upgrade if necessary
We think that server should detect database schema version upon startup. In case, the schema version is lower than the version required by the system we may either upgrade the schema or simply report an error. This ticket adds such verification to the server.