Don't raise HTTPForbidden on a multitenant environment

When getting public images in a multi-tenant environment, Swift raises
HTTPForbidden for chuncked images.

Based on swift documentation, rlistings directive turns listings on,
which is the desired behavior in this case.

Fixes bug 1170156

NOTE: Swift guys where consulted about this fix.

Change-Id: I149f702d5b3ebae73b04deed4809939ab43c6adc
Cherry-picked: 2d492e04be9e386e402ddde248d9a55c8d04a2bb
Call monkey_patch before other modules are loaded

This patch moves the monkey_patch call into the glance scripts that
needs libs to be monkey_patched. This seems to be a good practice and
has given good results for other projects as well.

This change is needed  to avoid loading / initializing modules
before other libs are patched. For example: logging module.

Fixes bug 1163722

Change-Id: Idee486851606d765fb11598967a4f7d56cf46c97
Cherry-picked: 1c5a4d2bdcc00439b5e351d14f47deebdedcb001
Call os.kill for each child instead of the process group

The patch sets the process group id to its process id. Note that this
change raises an OSError in Glance's tests because they are run under
Popen and using glance-control, which changes children's session ids and
other parameters. That for, setpgid is inside a try / except and falls
back to 0.

Fixes bug 1068051

NOTE: This issue is not affecting production/stable environments (no comments
related to that have been made) but the issue is there and raises under
certain cases.

The backport is being suggested because this is, most likely, happening
under the hoods without users even noticing it.

Change-Id: Ie9ed044e08053d0067396138de0bd124326aa1a5
Cherry-picked: a9f9f137bb44bd5727854f416f8b0c7c3df81867
Adding help text to the options that did not have it.

Many of the config options did not have help text set.  This patch
adds text for those.

patchset2 adds 5 skipped options

patchset3 adds a missing underscore before the helptext bracket

patchset4 fixes pep8 errors

patchset5 notes the units (seconds) in sql_retry_interval, as noted
by Flavio Percoco Premoli

patchset6 fixes comments from Alex Meade

Fixes bug: 1162449
Change-Id: Ic75e499456e389df2ec527594bbcd54c0b464ee3
Bump stable/grizzly next version to 2013.1.2

Change-Id: I130528ae946e8888d35c25e468b4ea6ac29db0cf
Merge "Adding help text to the options that did not have it." into stable/grizzly
Merge "Call monkey_patch before other modules are loaded" into stable/grizzly
Merge "Don't raise HTTPForbidden on a multitenant environment" into stable/grizzly
Merge "Call os.kill for each child instead of the process group" into stable/grizzly