Automatically derive the template directory for generator classes
Fix Hack::ProblemCommand renamed test file