Bug2214

This is mostly to fix the tarball produced by "make dist", and while on it I renamed all occurrences of conf.h with config.h, due to trouble it was creating with 3rd party included files like cmockery.c. In particular there was a stale and empty config.h in libutils/, and when 3rd party files included config.h (which is the standard anyway) they continued silently. 

Few other minor fixes I stumbled upon are included.

Built and tested OK on i686 Ubuntu 12.10.