slight repackaging of views.

Change-Id: I58281af2fc3813a0e91a57551e335670c735a3da
Reviewed-on: http://review.couchbase.org/40380
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>