Adapt to KDevplatform::Problem persistency changes.

Note that finalLocation of a problem must be called only while holding
the ForegroundLock. In the case at hand, the range() method is enough.

Furthermore, while this persists the MissingIncludePathProblem, its
solution assistant is not yet persisted.
Default-construct the indexed type.