[#544] Run tests with Postgres 8.4 and 9.1 on Travis

We support both 9.1 and 8.4 (do we support 9.0 as well, @kindly?), so we should run our tests in both.

Issue #560 is about fixing the failures in 8.4.