allow to clear all views

Change-Id: I1e169b4350c0994d5fa51fe0ab51a6c49c47f0db
Reviewed-on: http://review.couchbase.org/24136
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>