Allow different datastore and CKAN DBs

Fixes #893 

Even though, we officially don't support this, I think it's nice to include this fix as it does not prevent it if people really want it.