Extended the searching for classes to check nested classes as well.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #134 from ddobrev/master

Extended the searching for classes to check nested classes as well