As per the description, this sets the TrackStateProxy type flags correctly.
It also adds links to the UncalibratedMeasurements (currently only Muons)
cc @pagessin @tbold