ssynchronized: act on a class member
ssynchronized: act on a class member

The ssynchronized decorator takes the lock to act on in input.
With this change we allow a string to be passed, and if so we assume the
function it protects is a class method, and we act on the member of the
class itself named as the string we got.

Signed-off-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

dimara/ganeti,grnet/snf-ganeti,apyrgio/ganeti,leshchevds/ganeti,yiannist/ganeti,apyrgio/snf-ganeti,mbakke/ganeti,mbakke/ganeti,leshchevds/ganeti,ganeti/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/snf-ganeti,andir/ganeti,bitemyapp/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,ganeti/ganeti,apyrgio/ganeti,bitemyapp/ganeti,ganeti/ganeti,yiannist/ganeti,leshchevds/ganeti,andir/ganeti,grnet/snf-ganeti,mbakke/ganeti,onponomarev/ganeti,yiannist/ganeti,onponomarev/ganeti