Add filetype to Document model.

Scan MIME type of uploaded files.