Bug 51245: Add some more RL modules

The most important ones are probably mediawiki.legacy.commonPrint and
mediawiki.legacy.shared. The latter is responsible for things like gallery
styling.

Also link some common extension styles as a stop-gap until we collect those
dynamically from action=parse output (see the bug).

Change-Id: I94be6839bc4502ed5fb32f51535f8d5281b8cd3b
Merge "Bug 51245: Add some more RL modules"