[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
We could make this the default implementation of `computeCorrelation(x, y)`.