Removed relational model and replaced with metadata model where needed.

Updated related code and tests.
Well, if the plan is to require all the extensions to be specialized by the provider, regardless of whether additional stuff is added or not, then it is not needed. Currently it is used for SQLite, but once specialized extensions are added it can be removed.