Support multisite testing.

This is the first step for making #2 possible.

Combined the common code to load WordPress remotely into a bootstrap
for the installer and simulator.