Switch test runner to pytest instead of nose
Summary:
Also port the coverage flags to be compatible with pytest-cov.
Kinda sorta close T1261.
Test Plan: looks like make test is happy
Reviewers: douardda
Maniphest Tasks: T1261
Differential Revision: https://forge.softwareheritage.org/D569