Proposal: Enhancing MIME module

Hello there, I’m working on a MediaType class, enabling parsing and manipulation in a similar way as URI for example, kind of like Rack’s MediaType but a bit more sophisticated.

Is this something that could be part of Rails, namely the MIME module? In that case I could try to polish it a little bit more and come up with a PR.