Port test_statsd.py to pytest and add a statsd test fixture
defined in pytest_plugin. Also move the FakeSocket class there. It should make it easier to write statsd-related tests in dependent packages.
Also: add magic to mypy ignored packages
Migrated from D6709 (view on Phabricator)