Add USE_X_FORWARDED_HOST config for use with reverse proxies.

Without this, absolute URIs generated by django will be wrong when behind
a reverse proxy. This affects, for example, the sentry-github plugin.
Merge pull request #1038 from russelldavis/runner-config

Add USE_X_FORWARDED_HOST config for use with reverse proxies