SPARK-4022 [CORE] [MLLIB] [WIP] Replace colt dependency (LGPL) with commons-math

This change replaces usages of colt with commons-math3 equivalents, and makes some minor necessary adjustments to related code and tests to match.
It was one-side before. Could you comment on the change?