Allow MimeTypeGuesser to be constructed outside the singleton scope

Allow singleton customization with the method `defineAsInstance`.