[Fixes #1094] Fix bug in ClassAndModuleChildren

ClassAndModuleChildren incorrectly flaged class with a single method
Merge pull request #1096 from geniou/class_and_module_children_single_method

[Fixes #1094] Fix bug in ClassAndModuleChildren