Use redis for history on Heroku

Enable `redis` to persist history on Heroku.