[SPARK-2359][MLlib] Correlations

Implementation for Pearson and Spearman's correlation.
This was discussed in https://github.com/apache/spark/pull/592 , and the conclusion was to keep the Douban BSD license. Also, this is irrelevant to this PR. So please remove this change.