Add path validation factory in ProblemSolver

  - path validation method can be chosen by name.
Check that path planner, optimizer and validation method exist in factory.
When setting new path validation method, add obstacles.