Use less memory when putting docs on couch. Closes #5011.
Make resolve_doc() not use a design document.
Remove old migration script.
Add script for updating design docs.
Fix docstring typo.
Merge remote-tracking branch 'refs/remotes/drebs/feature/5011_use-less-memory-when-putting-docs-on-couch-3' into develop