extract SAFE_INTEGER to MathUtils
add alias, avoid to rewrite too much from java ported code
add function to cast integers
fix isZero
add more functions
add tests; add big.js to handle numbers > SAFE_INTEGER