backport a bunch of rgw stuff to dumpling

Several bug fixes that were meant to be backported hadn't been yet. Also backported the admin [meta]data and replica log api changes to work with radosgw-agents.