HPCC-12708 Optimize jset and provide countTrailingZeros() helpers

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I'm not so sure there - because it isn't clear that a match in bit 31 will return 0