[MLlib] [SPARK-2510]word2vec: Distributed Representation of Words

Vector representation of words. This is a pull request regarding SPARK-2510 at https://issues.apache.org/jira/browse/SPARK-2510
`cosineSimilarity` is more accurate.