Basic mime-type handling types and functions.

WWW: https://github.com/yesodweb/wai
