pytest_plugin: Add sentry_events fixture from swh-indexer
In order for that useful fixture to be shared across multiple swh packages, move it from swh-indexer to main swh-core pytest plugin.
Also add a couple of tests for it.
Related to swh-loader-core!315 (closed)
Migrated from D8434 (view on Phabricator)