Replace Custom MIME type guesser class.

Replaced the custom MIME type guesser class in favor of Symfony's built
in mime type guesser libraries.