using unique class to convert bigdecimal

keep unique point to convert to bigdecimal.
Also created the ConvertNumberValue to get convertion more readble and testable.
Suports AtomicInteger and AtomicLong
Fixes all test in ri.