BZ-99999 Move computeDigits, isDuration, isPercentage and isPercentile to ne-js.