file validator added mime - types , image validator fixed
file validator tests added
Merge pull request #3773 from Ragazzo/file_validator_adjusted

File validator adjusted