clean up check_variable_scope
Correctly detect params tokens when a param has a default hash value
Merge pull request #205 from rodjek/issue-205

incorrect top-scope variable warning for define