cls_rgw: change data structures to keep single object key structure

instead of keeping the key name and instance separately. Also, translate
key structure into the index key string representation.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: adapt to new objclass interface

use rgw_obj_key instead of string, and pass it on to the objclass.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
radosgw-admin: adapt to new interfaces

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
test: cls_rgw fixes

adapt to new objclass interfaces

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: clean up some locator use

We don't use locators anymore. New objects are always created having the
locator equals to the object name. Don't allow this to happen through
magic, just get rid of code that is setting the locator. Legacy objects
should continue to work as we'll still decode the locator, and set it on
the ioctx where needed.

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