cleanup the code related to line search

cleanup the code related to line search except linesearch_backtracking
Cleanup the wolfe code

Cleanup the wolfe code
Remove code related to param.past

Remove code related to param.past
Port liblbfgs to Java