Ignore queries generated by the collector

Rudimentary logic to exclude queries to pg_stat_plans already existed,
but this didn't suffice. We now mark all queries with a constant
which we then later exclude.