[826277] Fix deploys on dev.

Freddo's environment variables leak into ours. It would be nice if Freddo didn't do this, but this was able to get around the problem for me.

We should test pushing this to stage, to make sure that it doesn't break that deployment process (it shouldn't).

I also added a thing jakem suggested, which is to explicitly restarting apache, instead of just touching the wsgi file, which was kind of unreliable in his experience.

r?