Followup to r85706 and friends: now that Math messages have been moved to extension, move out the settings list and constants.
- MW_MATH_* constants are now defined in Math extension
- Language::getMathNames() is removed
- mathNames section in message files is removed
- A hardcoded preference override in refreshLinks moved to MaintenanceRefreshLinksInit hook