Merge pull request #529 from m-o-g/master

Call static::mkdir(...)
Removed "fileTypes" option.
refactored the message command.
Merge branch 'master' of github.com:yiisoft/yii2
Fixes issue #276: support range request for sending content as a file.