add has_intercept and offset params to h2o.glm()