Fixed some bugs in GLM and KMeans
Merge branch 'master' of https://github.com/0xdata/h2o