Attachment bodies are not necessarily json.
Refactoring with route middleware to identify pouch instance.
Refactor all_docs
A little cleanup
Cleanup view querying