Converted CRLF to LF. Added gitattributes file.

 I replaced CRLF to LF and set gitattributes. Ref: https://github.com/yiisoft/yii/pull/2575