Add method to KieHelper to check for compilation errors