rewrite sync_couchdb as preindex-plugin
only import sync_couchdb in an environment where corehq is available
Merge pull request #78 from dimagi/preindex-plugin

rewrite sync_couchdb as preindex-plugin