Moved the valid mimetypes array to the language file, and created a default as well as a "lor" version of the array so they can be modified independently and used in different places (in the case of the "default" array).