mime: Make filename extensions case-insensitive

Fixes issue 8350.

LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://codereview.appspot.com/127380043

Committer: Brad Fitzpatrick <bradfitz@golang.org>