Generated model implements a common interface.

- A generated model now extends GeneratedModel class which
implements common interface.
- code cleanup in GeneratedModel class
Merge branch 'master' of github.com:0xdata/h2o