Introduce a mutex class, as stepping stone to dialing back overuse of yarp::os::Semaphore