Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php

Some of the various code used to initialize MediaWiki were combined into a single file.

Change-Id: I12b568ec6a30ccdbe012a0c65df91f66f40fc0fa
Merge "Consolidate parts of WebStart.php and doMaintenance.php into Initialize.php"