rgw: cache bucket info

This is really a partial implementation, so should only be used for
testing.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: remove memory allocation

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