Add class based topcoder template, provide methods for class based method generation
Modify testing method to support class based templates as well as method based template
Send template type for test_problems