CFSv2: XLALified getLogString() and fixed potential memory overflows

   - use XLALStringAppend() to replace my local append_string()
   - minor polishing and cleanup of the output log string
   - fixes #1299

Signed-off-by: Miroslav Shaltev <miroslav.shaltev@aei.mpg.de>