Add case-insensitive support for Postgres

A user on IRC reported that they were unable to use case-insensitive searches on Postgres. This PR adds support for `ilike` queries, which are case insensitive on Postgres.