Bugfix scala mapreduce
Also a bunch of cleanup.  Standard usage is back to having a named class; couldn't figure out how to make it anonymous-class & correct
Merge branch 'master' of github.com:0xdata/h2o-dev
Merge branch 'master' of github.com:0xdata/h2o-dev
make public for writeJSON