Use more-specific value for X-Object-Manifest header.

When uploading a large image to Swift, the segments are named
glance/<imageid>-<segmentnumber>. However, the value of
X-Object-Manifest is only glance/<imageid> without the trailing
dash. This can lead to odd behavior when there are other objects that
start with <imageid>, but are not actually segments of the image.

For example, in bug 1112653, a user was using python-swiftclient to
delete an old, segmented image with id 10. However, they also had an
image with id 100b2316-9187-48d8-b327-dded22d1dc71-00001, and since
"10" is a prefix of "100b2316-9187-48d8-b327-dded22d1dc71-00001",
swiftclient thought that the second image was just another segment of
image 10 and deleted it.

Further, had someone issued a GET request for /glance/10, the
resulting response would have contained the bytes from 10's segments
*plus* the bytes from 100b2316-9187-48d8-b327-dded22d1dc71-00001,
which is definitely not the right behavior.

Obviously, this change doesn't go back and fix up old
manifests. However, it should help prevent this problem from
recurring.

Change-Id: I37577fde7751ad76ce543bc59eb7ee8de2187ac3
Document db_auto_create in default config files

Change-Id: I933952b672254b32928762e0a4beba2b2b107810
Fix migration 015 downgrade with sqlite.

This adds a list() call around the select sqlalchemy to pull
the list of locations that start with swift. The list() call
forces the select query to finish, before we try to update the
database.

Change-Id: I63f2e184a49e8bbd7115dd59d644506ea4069558
Remove unnecessary logging from migration 019

Migration 019 included debug logging for every sqlalchemy call
that was run. This commit removes all of the logging and makes it
consistent with the other migrations.

Change-Id: I914f4f4458eacbb3bcabac092bbe166ce9069a5f
Remove compat cfg wrapper

This wrapper was there to allow oslo-config changes through the gate
while keystoneclient hadn't been updated.

Change-Id: I3d48673af58ae379e8e4d2c7fb4b4d81f3ed67dd
Merge "Document db_auto_create in default config files"
Merge "Remove compat cfg wrapper"
Merge "Use more-specific value for X-Object-Manifest header."
Merge "Fix migration 015 downgrade with sqlite."
Merge "Remove unnecessary logging from migration 019"