Adds onBeforeCount for Active Records, fixes #1353
phpdoc correction for onbeforecount #1353
Allow for primary log rotation by copy and truncate rather than rename
docstring fixes #1353
Merge pull request #2275 branch 'copytruncate' of https://github.com/bdstevens/yii into bdstevens-copytruncate

* 'copytruncate' of https://github.com/bdstevens/yii:
  Allow for primary log rotation by copy and truncate rather than rename
a bit of refactoring for PR #2275 + CHANGELOG line
Added comment about ajax validaton to gii template

related to #2213
Merge pull request #1823 branch '1353-on-before-count' of https://github.com/jakob-stoeck/yii into jakob-stoeck-1353-on-before-count

* '1353-on-before-count' of https://github.com/jakob-stoeck/yii:
  docstring fixes #1353
  phpdoc correction for onbeforecount #1353
  Adds onBeforeCount for Active Records, fixes #1353
cleanup after #1823
Added note about module name case to gii view

fixes #2117