Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.
Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem
TODO: get the real mime_type from the file content, but this would require some modification in the data model.