Port pagure's test suite to pytest
This allows to do things like pytest -n 6 tests/ --cov pagure
to run all the tests on 6 cores with coverage.
pytest seems to be faster than nose and pytest is maintained,
unlike nose...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>