Fix PlanAndOptimize class

  - remote method tryDirectPath that has been moved to PathPlanner,
  - implement startSolve and call internal PathPlanner implementation.
Fix PlanAndOptimize class