[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
should create an empty vector of the same size or throw an exception