Add constants for mimetypes.
Merge pull request #1165 from npcode/add-mimetypes

Add constants for mimetypes.