(refs #2)Restore checkConflict method.
(refs #2)Add flag for identifying whether it's a pull request.