resourceloader: Don't register raw modules client-side

Prevents modules from depending on raw modules, like 'mediawiki' & 'jquery'.

To do that, those modules (as designated by raw=>true), aren't
registered in the module registry.

Change-Id: Iac37a236964dc40d6259988a0baaaa6331b54ec6
(cherry picked from commit 1e063f60780506947b39692341e044e0d7910b10)