Move load database config to API

Fix #791 - Removed load database config options from the daemon. Created an API endpoint and updated test.
Fix #745 - Added definition of continuous queries to load database config.
In that case we should probably validate they're all continuous queries that parse before doing anything. That way people won't get into a halfway completed state.