normalizeMediaTypeName

Normalizes a media type by removing parameters (charset, etc.) and converting to lowercase.