Add configuration key listing all the mime types allowed for upload
Add the `allowed_file` function checking if the input submitted is valid
Actually validate the input submitted via allowed_file()
Add configuration key allowing restricting the size of the files uploaded
Add a little logging about the mime type of the input submitted