[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
Add a column with all `0`s or `1`s for 0 covariance.