add option to modify the lookup used to match MIME type

Not sure about the API.  My use case for this is I need my gzipped files (which have a .gz extension) to be given the same MIME type as the underlying file (for example my files are `.js.gz` I'd like that to be MIME type of `application/javascript`).