dogen: remove the majority of database related code

We started deleting the database aspect but still left behind some
scaffolding. This commit removes most of it (with the exception of the
SQL settings which will be re-purposed for ODB)