CHANGED run dokku cleanup in same process
FIXED don't fail cleanup task
CHANGED ignore dokku cleanup status during deploy
CHANGED pass container ID to check-deploy and post-check

Note: this requires changing the order of arguments passed to
check-deploy. The new order is:
$APP $PORT $ID
CHANGED set CONTAINER/PORT/URL before post-deploy

Once we completed check-deploy, we agree the new container is good to
go. And once we started running post-deploy hooks, there’s no automatic
recovery. So:

1. Commit to post-deploy completion by disabling kill_new trap after
check-deploy
2. Set CONTAINER/PORT/URL so post-deploy scripts can use them
3. Nginx post-deploy hooks gets the final say on the value of URL
CHANGED complete deploy, kill old container in background
FIXED these to prevent git push from hanging
CHANGED pass X-Forwarded-For/Proto

Accept X-Forwarded-For/Proto headers from proxy server (e.g. AWS ELB)
and pass them through to application.
FIXED share pass through code between configs
FIXED the previous fix
FIXED escape $
ADDED changelog like a proper maintained project
FIXED more escaping
ADDED support HTTPS protocol in CHECKS
FIXED missing pathname
FIXED broken dokku cleanup
ADDED forward X-Forwarded-Port as well
Merge remote-tracking branch 'upstream/master'

Conflicts:
	dokku