rgw: Create RESTful endpoint for user and bucket administration.

Expose the following operations through a RESTful endpoint:
    user create
    user modify
    user remove
    subuser create
    subuser modify
    subuser remove
    key create
    key remove
    bucket list
    bucket stats
    bucket link
    bucket unlink
    bucket check
    bucket remove
    remove object

building on the existing /{admin} endpoint.

Signed-off-by caleb miles <caleb.miles@inktank.com>
rgw: change bucket stats --uid formatting

revert to old output

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: resurrect gc list code that was previously removed

Fixing broken radosgw-admin gc list command

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw_common: Drop 's' from subresources.

Signed-off-by <caleb.miles@inktank.com>
rgw: radosgw-admin policy output change

Reverting to old radosgw-admin behavior.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: admin, fix radosgw-admin policy on object

Wasn't setting the object in the op.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix bucket stats (RESTful api)

Fixes: #4580
formatter shouldn't be flushed to stdout.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw_rest_user: Remove 's' from subresources.

Signed-off-by caleb miles <caleb.miles@inktank.com>
rgw_common: Move handling of admin subresources.

Signed-off-by caleb miles <caleb.miles@inktank.com>
rgw_common: Fix admin subresource handling.

Signed-off-by caleb miles <caleb.miles@inktank.com>
rgw_bucket: White space and compiler warning cleanup

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw_rest_user: Compiler warning cleanup.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw: Fix compiler errors.

Signed-off-by: caleb miles <caleb.miles@inktank.com>