rgw: metadata log trim

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
osd: don't assert if get_omap_iterator() returns NULL

Fixes: #4949
This can happen if the object does not exist and it's
a write operation. Just return -ENOENT.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: bucket index log trim

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

still some issues through

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