Removed many unneeded scope.lookupvar calls.

These were treating local variables like globals, adding unnecessary
complexity.

This patch also fixes one type (line 558) which surely concealed a
logic error:  some conf files will now contain this line:

> 	helo_data = lists.wikimedia.org

previously that line would never have been inserted.

I've left references to enable_mediawiki_relay untouched because that
seems to be an obsolete variable; direct references to it cause errors.
I'll resolve this in a future patch.

Change-Id: I0344a26ddee486bbe80d2cd4bf706c903c4108c0
Merge "Removed many unneeded scope.lookupvar calls." into production