add function reset() to c++ lbfgs

add tests as well
Merge pull request #49 from js850/lbfgs_reset

add function reset() to c++ lbfgs