Moved OOJS UI components to separate file

Also added some new config variables

The goal is to have smaller files for better maintainability.
Unfortunately this doesn't go well with the idea of a MediaWiki gadget

Change-Id: I594e5bec1f4c5effb2b7746bb04a54039ee9c3b1