Add logging to check_pulls

Adds --debug command-line option and logs debug information to a file.  Helpful when figuring out why PRs are not causing jobs to fire.