Fix for #1942: Count class for object expressions that pretend to be members
Fix for #1942: do not count references to functional parameters being passed as allocating a local class
Fix for #1942: do not skip local declarations
Test for #1942: Local declaration class names errors
Updated test .src for #1942: Local declaration class names errors