Database: Specify config in param

Let people specify the database config
as an optional parameter. For testing.
Fix: Database: Wait for creation before use

Database creation wasn't working because we were
trying to 'use' it before the async creation
process was complete.

Now we have an init function that calls a callback
when everything is ready.
Test: Database: Can save and get patrons

Basic test that connects to the database server,
creates views and whatnot, saves a patron.