[MLLIB] SPARK-4362: Added classProbabilities method for Naive Bayes

Added methods which accept an RDD or array and return a map of (label -> posterior prob.) for each input set rather than only returning the key with the maximum value. 
I'd probably import `scala.collection.mutable` and write `mutable.Map`. Not sure what others' preference is.