[SPARK-2429] [MLlib] Hierarchical Implementation of KMeans

I want to add a divisive hierarchical clustering algorithm implementation to MLlib. I don't support distance metrics other Euclidean distance metric yet. It would be nice to support it at other issue.
Could you review it?

Thanks!

I don't think you're using the broadcast variable correctly:

http://spark.apache.org/docs/latest/programming-guide.html#broadcast-variables