SPARK-2461. Add a toString method to GeneralizedLinearModel

This should be kept as __str__