Redmine#2595 - missing CfOut references in unit tests

During a build on HP-UX 11.11 with GCC, the following error appeared for various files:

```
 CCLD   csv_writer_test
/usr/ccs/bin/ld: Unsatisfied symbols:
   CfOut (first referenced in ./.libs/libtest.a(patches.o)) (code)
collect2: error: ld returned 1 exit status
gmake[3]: *** [csv_writer_test] Error 1
gmake[2]: *** [check-am] Error 2
gmake[1]: *** [check-recursive] Error 1
gmake: *** [check-recursive] Error 1
$
```

Following the example of the other unit test C code, a dummy CfOut function was added to each file affected by this problem. In order to obtain the OutputLevel definition for CfOut's first argument, the "cf3.defs.h" file was included where not already present.