Rule 'block-scoped-var': correct scope for functions, arguments (fixes #832)
Merge pull request #833 from roadhump/issue_832

Rule 'block-scoped-var': fixes function scope and arguments (fixes #832)