Introduce LONG_BITS constant
Introduce NIBBLE_BITS constant
Introduce LONG_HEX_LENGTH constant

LONG_BITS is removed because not needed any more.
Add option to convert long to upper or lowercase hex
longToHexString: allow zero left-padded