Allow mime-types 2.x to be used with Linguist

The API is compatible for our purposes, and this allows Linguist to be
used in apps that pull in newer versions of mime-types through other
gems.
Merge pull request #1737 from github/relax-mime-types

Allow mime-types 2.x to be used with Linguist