FACES-2025 Add MessageContextFactory and refactor MessageContext implementations to take advantage of factory discovery (reverting lines accidentally backported that are related to Liferay Faces Alloy)