[TASK] Enforce permitted file types on table and field basis

Now respects TCA file type restrictions for the field to which files are being uploaded.
Merge pull request #12 from NamelessCoder/filetypes

[TASK] Enforce permitted file types on table and field basis