SPARK-2461. Add a toString method to GeneralizedLinearModel

Sorry but any reason this is different from the Scala/Java output? It should look the same (i.e. pick either square brackets or parentheses for both).