cls_rbd_client: Add tests for set/get flags

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
test_cls_rbd: add tests for cls_rbd image index

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
ImageCtx: Fix uninitialized variable

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>