Fix 'Not a block' error for default_scope

When a block is not used, an error occurs instead of adding the missing
block to the list of offenses. Check to make sure that the argument is a
block first.
Merge pull request #741 from bhicks/default_scope_not_a_block

Fix 'Not a block' error for default_scope