SPARK-4111 [MLlib] add regression metrics

Add RegressionMetrics.scala as regression metrics used for evaluation and corresponding test case RegressionMetricsSuite.scala.
Also picky but you can avoid `math.pow` and avoid computing `value - pred` 3 times here with a local var. Might be cleaner. This LGTM for what it's worth.