[TASK] New database configuration scheme. (backwards compatible)

[TASK] Fix reference error and format.
Merge pull request #339 from ripple/new_db_config

[TASK] New database configuration scheme. (backwards compatible)