Doc translate for rest-resources
Merge pull request #4394 from MikeBazhenov/master

Doc translate for rest-resources
minor refactoring of FileValidator.
Fixes #3887
Fixes #4342
Merge branch 'master' of git://github.com/yiisoft/yii2 into 4342_mssql_driver_updates
Merge pull request #4401 from tof06/4342_mssql_driver_updates

4342 mssql driver updates
Merge branch 'master' of git://github.com/yiisoft/yii2