Add support for masking of bits. Before the bitwise operator could only test bits, it did not support clearing bits.
This allows testing if any combination of bits are set/unset more naturally with a single test. Previously this was only possible by combining several bitwise predicates.
Bitwise is implemented as a test node, even though it is not. Maybe the test node should be renamed to something else.
Fixes #17246 (closed).