OptimizationProblem.objective should set the f_type

An MDOFunction has a f_type of type MDOFunction.FunctionType.

In the case of an objective, this type should be MDOFunction.FunctionType.OBJ and could be set automatically by the setter OptimizationProblem.objective.