Fixes #2016: removed ability to declare scopes in ActiveRecord leaving it to ActiveQuery. Changed documentation accordingly.
Better phpdoc
Merge branch 'master'

Conflicts:
	tests/unit/data/ar/elasticsearch/Customer.php
Merge branch 'master'