Added a MimeTypes class for doing mime-type lookups.