JENKINS-16908 Close failed pull requests automatically if plugin admin configured it

Please review my changes

Thanks!