[SPARK-1157][MLlib] Bug fix: lossHistory should exclude rejection steps, and remove miniBatch 

Getting the lossHistory from Breeze's API which already excludes the rejection steps in line search. Also, remove the miniBatch in LBFGS since those quasi-Newton methods approximate the inverse of Hessian. It doesn't make sense if the gradients are computed from a varying objective.