Add some more detail on how to use scopes properly.
Fix formatting issues.
Merge pull request #1176 from cakephp/logging-improvements

Logging improvements