Add tests to ensure any contributors can edit PR metadata
For this we created a dedicated class of tests (for convenience) which
led to moving the set_up_git_repo from being within the
PagureFlaskForktests class to being accessible to the entire file.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>