Fixes IP vote limiting on Heroku by checking X-Forwarded-For header.

Note that this could break vote limiting if you are running outside of
Heroku and without a proxy, because users will be able to spoof the
X-Forwarded-For header to avoid vote IP limiting.
Fixes bug causing titles to be unvotable for all users once a user who has voted them reloads the showbot page.