Register message files outside of enableSemantics()

The l10n cache building process used on the WMF cluster expects that
including the entrypoint for an extension will properly register the
extension's l10n strings via wgExtensionMessagesFiles.

Change-Id: I18776bb602ab90929fc165ccae3d0efd6c63ad09