MB-9730 Add equality and intersection operations for bitmaps

Change-Id: I548cc1041d06ffeeacacec0ef0b2b56ded8d83fe
Reviewed-on: http://review.couchbase.org/30624
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>