update the lbfgs optimizer
update the unit tests for lbfgs
fix a bug
Merge pull request #2337 from yorkerlin/develop

update the lbfgs optimizer