Merge pull request #486 from tzz/tzz/sprintf_formats

format() function
Format stdout output for Log
Convert CfOut statements to Log
Remove errstr from CfOut, CfVOut
Remove errstr from cfPS
Remove old logging