Add the ability to pass in options to database connections.

We need this to give us the maximum amount of database flexibility,
like passing in the vital "storage" option for sqlite.