resourceloader: Move mw.libs and mw.widgets from startup to mediawiki.base