Remove database knowledge from Checkable, Dimension. Parameters
dbtype, dbname, and table prefix are controlled exclusively through
the configuration.
Added tests and code for mysql