Introduction of a media white list.

This patch adds the ability to configure a white list of media files, which can be useful to explicitly allow certain files to be uploaded. It overrides the file 'mime.conf'. I use this to whitelist files like 'vimrc' (files without extension), which normally would not be possible with the normal 'mime.conf' mechanism.