Moved linesearch into common
Changed interfaces to be ObjGrad instead of Eval