Fix up preflight-checks (migration mode)

So that it requires the models in the migrations.

Also clean up the Fqdn migration so that it does not use
a pluralized table name. Also set default hostname and
domain.