Use case-insensitive relname internally.

Empirical tests show PostgreSQL treats relnames like all other SQL
identifiers, so we should too.

Also adds a missing Unlisten() test case.