add lock_shared2 implement to class Image
add LockingDurPP to test_librbd for testing rbd lock with duration
add lock_shared2 with duration for LockingDurPP
add lock_shared2 with flags for LockingDurPP