replace default couchdbhandler.sync

with one that calls our custom sync_design_docs
do not have sync_design_docs swallow errors
keep hitting view until it completes
finish comment and minor cleanup
Merge pull request #198 from dimagi/make-preindex-fail-loudly

Make preindex fail loudly and finish only when views are done reindexing