Make database optional

I would get `DB_DEFAULT_URL` first and _not_ ignore `ImportError` if it is there.