Add .godir for Heroku buildpack support

Also add scripts/post_compile and scripts/get_version.