Better errors when psql fails and when we can't check the pg version

It wont solve the issue in support.heroku.com/tickets/128528 but it would help pointing to the error faster