rgw: multiple fixes related to metadata, bucket creation

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>