Fixes #5558: allow to use $ { } in variables and correct class condition and reporting
Merge pull request #124 from ncharles/bug_5558/dev/variable_in_parm

Fixes #5558: allow to use $ { } in variables and correct class condition...