Util: added MimeDetector.
Dolozhee: detect MIMEs of the uploaded files.