Fix rabbit_max_retry

First, the configvar is defined as a StrOpt. This means that the check
against the integer retry_attempts will fail.

Secondly, rabbit_max_retries is tested as a boolean before comparing
against retry_attempts. With the value 0, this would be false and the
setting rabbit_max_retries=0 would actually retry indefinitely, which is
not the obvious behavior. This patch will make the default not to
retry at all (which was the implied, but not actual, behavior)

Fixes bug 1152866

Change-Id: Ic39d708f0294fc5d919cb2a5d9fae532128ef17e
Fix scrubber and other utils to use log.setup().

scrubber and other utils call config.setup_logging(),
which does not read the 'default_log_levels' config option.
Fix this problem by calling log.setup(), just like what
glance-api and glance-registry do.

Per John Bresnahan's comment, made the change to check
the existence of log conf file in oslo-incubator code.
Refer to https://review.openstack.org/#/c/24230/

Change-Id: I4a53d74c4cd8274a3174b246207a6ed76c5e31c6
Fixes: bug #1153432
Document the os options config for swift store

Several configuration options were added to the swift store. These
options help python-swiftclient and sometimes glance itself to determine
which swift service to use if multiple services appear in a keystone
catalog. This change adds documentation for the additional options.

Last fix for bug 1037708

Change-Id: Id06d263b73705b06295b730ff68460b22f117e63
Merge "Fix scrubber and other utils to use log.setup()."
Merge "Fix rabbit_max_retry"