Model codegen improved

- generation preds[0] for tree models
- generation DOMAINs
- helper method for transforming prediction into class name
Merge branch 'master' of github.com:0xdata/h2o
Merge branch 'master' of github.com:0xdata/h2o