Adding a true mime validator, old one renamed to validateExtension

This change will introduce a true mime validator and rename the old one to validateExtension. If you check the code of the old validateMimes is just checking the extension and not the mime of the file.