clean up some kmeans shared routines
Merge branch 'master' of github.com:h2oai/h2o-dev
just a temp syncup. not synced with multi-statement yet (funs)