Heroku cedar stack

In case they're of interest, here are some changes I made when updating the app to run on Heroku's Cedar stack.