[MLlib] Make the createModel method from GeneralizedLinearAlgorithm public

Making the createModel from the GeneralizedLinearAlgorithm trait user accessible.