allow syncing couchapps to different databases

depends on https://github.com/dimagi/dimagi-utils/pull/235