Added a LockGuard class.

Added a LockGuard class which has the same behaviour of std::lock_guard (c++ 11) for a yarp::os::Mutex.

As requested by @lornat75