fixed normalizePath to keep a '.' path when necessary.
Added BUG #3522 to the changelog.
Code style fix & CHANGELOG typo fix for bug #3522
Implemented qiangxue's solution as it is much simpler.
Fixed path in unit test to use the directory separator variable.
Merge pull request #3529 from skotos/3522-normalizepath-current-path

#3522 normalizepath to allow current path
[WIP] #3527 Improving Elasticsearch extension
[WIP] #3527 Fixing spaces
Merge pull request #3541 from yiiframework-com-ua/3527-elasticsearch-enhancements

[WIP] #3527 Improving Elasticsearch extension
Merge branch 'master' of github.com:yiisoft/yii2
Refactor