SPARK-2461. Add a toString method to GeneralizedLinearModel