Updated buildpack to use a library of functions (#2)
Also renamed entry point from bin/heroku-nginx.php to bin/heroku