COUCHDB-2291 - Fix selection of all docs & delete button

Fix deletion of docs that where selected using select-all

- add docs on page to bulk-delete-collection on select-all-click,
  which also reenables the trash-button
- make AllDocs testable, enable injection for viewMeta

Closes COUCHDB-2291