Add support for application_name filter on long running transactions and
long idle in transaction. Good for filtering applications like pg_dump,
but also others without having to run them with a specific user.
Several fixes found in the excludeapp and added a includeapp so
later checks with different thresholds can be don on the filtered
application_name
Better check for insufficient privileges and configuration options
that haven't been set and are needed.
Add query to the output on txn_time and txn_idle warning and critical
for easier debugging.
Merge branch 'master' of git://bucardo.org/check_postgres

Conflicts:
	check_postgres.pl