Allow application client container to find main method on base class of Main-Class

The commit here alllows application client container to find the main() method in the super class of the Main-Class, if the Main-Class itself doesn't have the main() method.