Internet Archive and Heroku work-in-progress.

This doesn't affect production code at all, just some changes to internet archive and heroku stuff that we'll use later.