Use the new OptimizationState() method in levenberg_marquardt()

Also adds LM to the run_tests script.

With the change I suggested on Calculus.jl, passes tests again.