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.
Should we throw an error if the query isn't continuous instead of silently ignoring the query ?