[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
you're right. sorry i was thinking about the 2nd zipWithIndex call (on the sorted RDD). That one absolutely cannot be replaced with zipWithUnqueId or the results are all wrong.