[SPARK-2552][MLLIB] stabilize logistic function in pyspark

to avoid overflow in `exp(x)` if `x` is large.
Sure, pull request here! #1652 

Thanks a lot! :-)