moved some CLangCompileModelHelper related code to new files;
improved source code generation for forward and reverse modes when there are no atomics involved;
fixed performance issue in the generated code of forward and reverse modes for models with loops when there are atomics involved
fixed some compiler warnings and improved CppADCGPatternTest