Issue #1730774 by beejeebus, sun: Untangle Cache\DatabaseBackend from procedural database.inc functions to make it available in early bootstrap.