fix Heroku's Postgres conditional check
add rest-client requirement plus debug info
Merge pull request #37 from rainforestapp/fix-heroku-postgres-check

fix Heroku's Postgres conditional check