Small changes to get buildpack running

* Change `detect` script to output a slightly different format since the slug compilation was bombing in some cases
* Use `$DB_PORT` to avoid namespace conflicts with `$PORT`, which heroku expects webapps to bind to