Add specific check for "require" in hasModule check (fixes bug when using with QUnit).