Jens Rehsack's changes

 * thread safety and reentrant functions
 * complete ports for HP-UX
 * add support for AIX and Darwin/MacOS X
 * add experimental support for tracing using log4cplus
 * remove explicit Linux 2.4 support
 * improve documentation
 * add basic test capabilities