Validator::validateMimes returns false if the uploaded file isn't valid

If the upload is partial, the UploadedFile instance might be invalid and the mimetype shouldn't be validated.
Updated to symfony 2.5
Merge pull request #3804 from arthurdarcet/validate-mime

Validator::validateMimes returns false if the uploaded file isn't valid
Work on file mime validator.
Fix conflicts.