Fixes #1412: `FileValidator` still triggers `uploadRequired` error in some case when `skipOnEmpty` is true and no upload is provided
Merge branch 'master' of git://github.com/yiisoft/yii2