Add support to exclude by application name on txn_* checks

2 chsets:

- Add support to exclude or include based on application_name. This helps in monitoring long running txn by excluding ones run by particular tools, i.e. pg_dump

- Fix for bug from issue #73