Update load database config with validations and tests

Update the client struct so the Database is public and can be set by library users.
Move the db_config API to specify the database name in the URL.
Make load config test also test loading continuous queries.