pat.py: refactor notify
pat.py: fix bug in missing cache file code path

If there is no cache file present, then every new message is unique, so
should return the parameter, not None.
pat.py: document functions
Implement a jiffies tick counter

This counter is incremented each time the application polls the Maildir.
Refactor Makefile
Fix typo in comment