Allow specifying the MIME type of an uploaded file

Fixes #86
Merge pull request #87 from mgedmin/upload-content-type

Allow specifying the MIME type of an uploaded file