support multiple traces of the same type

- change Traces class to hold
  multiple traces of the same type
- change LoadedParsers to policies
  to allow multiple traces of the same type

Bug: 322803923
Test: npm run test:presubmit
Change-Id: Ic26cb12bbd342f2dfbf7e88eeee72d426ac50f37
17 files changed