HPCC-12708 Optimize jset and provide countTrailingZeros() helpers

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
countLeadingZeros is less confusing to me - findMostSignificantBit would be expected to return 31 ...