Allow database driver to only implement parts of the database driver.
In preprataion of the json interface which will only implement
session_data as might only be used by the PCRF.
The current dbi only supports a single database backend. Add
an abstraction layer to allow multiple database backends.
Introduce a dbi backend struct containing all database functions.