[WIP][SPARK-1405]Collapsed Gibbs sampling based Latent Dirichlet Allocation

This PR is based on @yinxusen's #476