Ceph Rados Gateway and other S3 compatible APIs

This is a squashed version of #515 that is ready-to-merge.