A Python script to restart Heroku Dynos when memory quota is exceeded. Inspired by https://gist.github.com/arches/6187697