[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
I made it its own method on purpose to force future developers to think about whether this a good option or if custom code for vectors can be more performant.