Moved the valid mimetypes array to the settings database, to even further remove it from version control in case different organisations want to maintain a separate list of valid mimetypes they will be using.