Changes required to run plankrk on heroku

Simplest changes required to work with heroku. Further investigation how to use `postgit` is needed.