Refactor the `matches` function

- Clearer parameter names and doc string
- Use fnmatch.fnmatch instead of re.match and fnmatch.translate
- Use `any` to make code more succint.

Change-Id: Id22aef35554c2a3428874f956c54baae3ea662fe
Add support for triggering on unreviewed patches

Since version 2.11.0 the Gerrit Trigger Plugin can be configured to
generate patchset-created events for changes that were uploaded while
the connection to Gerrit was down.

Change-Id: I59608e4f01355944fed9e44b288fc25a897950c7
Fix typo: sigleton => singleton

Change-Id: I7ef7b73b22d722663b4fa5dcd0d79db2a4ca24e4
Merge "Refactor the `matches` function"
Merge "Fix typo: sigleton => singleton"
Merge "Add support for triggering on unreviewed patches"