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.

/cc @arfon @bkeepers