[YARP_OS/Log] Remove no longer used logging macros
[YARP_OS/Log] Use a mutex to avoid mixing output from different threads
[yarpserver] Change a few printf to the new logging macros
[YARP_OS] Replace YMSG and YTRACE with yDebugNoFw and yTraceNoFw
[YARP_OS/Log] Rename setLogCallback to setPrintCallback and add setForwardCallback
[YARP_OS/LOG] Call the right print_callback and forward_callback

This also fixes 2 -Waddress warnings.
[YARP_OS/Log] Remove extra end of line also from stream-style log
[test] Update log example and tests