ENH: Added implementation of lbfgs history.