MB-7629: Add more operations for bitmap

This is needed for view btree rereduce operations

Change-Id: I540269fc73c48aad0cce2d2841bd061d4fee803e
Reviewed-on: http://review.couchbase.org/25766
Tested-by: Fulu Li <fulu@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>