Must set global $wgResourceModules to empty in tests

Because of the recently added global statement to Resources.php to
support composer.

Change-Id: I1d4be438d27e1d64092967ff6adea612fe306f60