Fix the rgw apache CI tests
Fix the rgw apache CI tests

This fixes various issues with the rgw apache CI tests:

* the test did not properly check for success as the curl always exits
with 0, even when the HTTP return code is 401 / unauthorized
* there was a missing dependency to wait until the OSD is ready
* changing the tested versions to be in sync with all other tests.
* cleaning up left over files when uninstalling
* autogenerate the pools

Change-Id: I28dacb1a18e20429f93f2f9996f8196a1d992374

Emmenemoi/puppet-ceph,cloudbuy/puppet-ceph,norcams/puppet-ceph,openstack/puppet-ceph,stackforge/puppet-ceph,fuel-infra/puppet-ceph,rdo-puppet-modules/puppet-ceph,ceph/puppet-ceph,aldavud/puppet-ceph,gwdg/puppet-ceph,kevinlowrie/puppet-ceph,cloudbuy/puppet-ceph,NeCTAR-RC/puppet-ceph,koder-ua/ceph,fultonj/puppet-ceph,IPnett/puppet-ceph,pdrakeweb/puppet-ceph,0xf2/puppet-ceph,tdb/puppet-ceph,vshn/puppet-ceph,openstack/puppet-ceph,norcams/puppet-ceph,koder-ua/ceph,MI-OSiRIS/puppet-ceph,fuel-infra/puppet-ceph,MI-OSiRIS/puppet-ceph