This adds a new `scope` field to `CrashAnnotations.yaml`, replacing the
`ping` field. It adds the `StackTraces` and `Comments` annotations
(which were missing), and an `object` annotation type for completeness.
There's a bit of reorganized code for the client UI test interaction
hook as well, and a better panic handler for the logic thread: the new
debug assertion around extra data before submission was failing because
I was missing the `Comments` annotation, however the logic thread
panicking resulted in the test hanging rather than exiting with the
panic message(s). This panic handler fixes that case (and I'm glad I
added the debug assertion!).
Differential Revision: https://phabricator.services.mozilla.com/D239078