[FIX, INTERNAL] Fixes issue with bit scan reverse and forward for 32 bit systems.

Fixes bitScanReverse and bitScanForward for different word sizes.
Adds bitwise xor functor.
Adds xor operator for bit compressed tuples.
Adds general bit operators for packed bool strings.
Adds test for empty strings in bitScanForward, bitScanReverse and transform function for packed bool strings.
Updates tests for empty packed bool strings.