Use same function to detect mimetypes in flash & quick upload.
Merge pull request #46 from collective/tt-flash_mimetypes

Use same function to detect mimetypes in flash & quick upload.