Wip 9031 9262

Fixes for features 9031 and 9262
Add format support for rados ls
Improve test cases especially around namespace cleanup
I think this should be const std::string & to allow clever users to avoid a copy.