pytest plugin to run each test in a forked subprocess. This is an extraction of the xdist --forked module.