Add possibility to ignore notifications from post-commit hooks

Changes added from tree:
github.com/jenkinsci/git-plugin/tree/35acc90830cfba914ac676970d00b5c6697232ca