Added validation
Merge pull request #72 from symfony-cmf/upload_validate

Added validation