Option to use _all_docs instead of a view

If sourceView and sourceDesignDoc is not there, _all_docs is used to
query all documents.