Add functions to log trust query results handled by the TID server
Update Makefile.am to include new sources
Add some audit messages to be logged
Add logging values to the TR config struct, code to parse it, and a default value in case it is not configured
Replace calls to fprintf with new tr_* macros
Add logging to the default main config
Workaround for glibc bug 14347