Allow changing the AR database in beforeCount()

like it is possible in beforeFind() already.

fixes #3014
[NL] Translation brought up to date
Merge pull request #3020 from Blizzke/master

[NL] Translation brought up to date
[ci skip]
Added support for formatting DateTime instances to CFormatter

fixes #3023
Found a typo
one more
few more typos
Merge pull request #3038 from munawer-t/master

Found typo
Fixes #3048: CApcCache is now compatible with APCu
Minor Typos+Grammar

P.S.:
Last line: Changed revision but pls check numbering according to your convention
Minor Typos+Grammar

P.S.
Check revision number according to your conventions
Minor Typos+Grammar

P.S. revision number increased++
Minor Typos+Grammar
Minor Typos+Grammar
Update index.txt
Minor Typos+Grammar
Update basics.convention.txt
Update yii.php
Merge pull request #3052 from emanwebdev/master

Typo & Grammar Fixes
fr Doc improvement