Add sudo -u apache call to foreachwikiindblist

Documentation mentions nothing about sudo, and running it without just
spits out 800 times the same error:

> Cannot run a MediaWiki script as a user in the group wikidev
> You should run this script as the apache user:
>  sudo -u apache <command>

We do this in mwscript already.

Change-Id: I29259bad8c63c5bf964e18d0b7c01bfd1e551af7
Merge "Add sudo -u apache call to foreachwikiindblist" into production