mongodb method "open" not triggered event "after open connection"
add method findOne() to the Collection class
small typos
refactoring Session component
removed useless option
Merge pull request #2480 from mongosoft/mongodb

Mongodb extension refactorign
Fixes #2490: `yii\db\Query::count()` and other query scalar methods now properly handle queries with GROUP BY clause