Completed bulk delete of items when collections are deleted.
Reworked naming scheme for CouchDB views.
Factor out dealing with CouchDB views into some common functions.
Change how the mock data state is held for cucumber tests.