[Tag] Adapted template parameters for ProblemTraits and updated calls.

5 jobs for !2857 with feature/tags-in-problemtraits
latest merge request