Use OutputPage::addModuleStyles/Scripts to add modules

Our problem was simply the usage of OutputPage::addModules instead
of addModuleStyles/Scripts. Using plain addModules caused the module
to be loaded via a mw.loader.load call instead of adding a
<script>/<link> tag to the page. The hook added in core
was unnecessary.

Bug: 68547
Bug: 68521
Change-Id: I683bb094a4fbf56d0139e6374fca7511d22ec633