Add _FATAL_EXCEPTION_FORMAT_ERRORS global.

Add a new global variable to control when exception format errors
are fatal. The Glance functional/unit test now make use of this
to ensure exceptions are correctly formatted when testing.

Change-Id: I720336e10345a0e33937c7241c37f548d6f87ea2
Replace nose plugin with testtools details.

Because of the testtools support for capture of arbitrary data, we no longer
need a custom in-tree nose plugin.

Part of blueprint grizzly-testtools

Change-Id: Idcd388aeee2809f43e68905c85d45d4429e3e67f
Add LazyPluggable utility from nova.

This commit merges in the LazyPluggable utility
from nova in to glance.common.utils. This is required
for the new test_migrations framework.

Change-Id: Ic9520db3f11f13e1a83882101980fcaaacc73729
Adding finer notifications.

This commit adds notifications which offer a finer view of what's going on
    inside Glance.

New Info Notifications (v1, v2)
image.create: Emitted when the image is first saved/reserved.
image.prepare: Emitted right before Glance begins uploading to it's store.
image.activate: Emitted when an image's status is set to active.

New Error Notifiactions (v2)
image.upload: Emitted on StorageFull or StorageWriteDenied exceptions to
                  mimic v1

Partially implements: bp:glance-notifications-deux

Change-Id: I2a4a48f6b57ab4739472f22eb42f9307266e6072
Fix version issue during nosetests run

Pick up the latest files from oslo

Fixes LP# 1118845

Change-Id: I1c9a19508fc18f18936624fa233d3fdc6d31e43f
Sample config and doc for the show_image_direct_url option.

This patch adds a sample configuration option to the
glance-api.conf sample and it explains how to use the option.

Change-Id: I1cc82a2cae0bbfc650ab7294ff08740bb868e4ff
Clean dangling image fragments in filesystem store

Fixes bug LP 1104924

Previously when a PUT or POST of image content was terminated
prematurely by the client, the partially saved image file was
left behind in the data directory.

Change-Id: Id601816735e4138cd7623dad4d90be67448292c8
Fix moker typo in test_notifier

test_notifier.TestQpidNotifier are usually skipped, so
that typo was not detected while running unit tests.

Change-Id: I1998b8e72c20170a8a2b234f2c19ec1e990ed43e
Merge "Fix moker typo in test_notifier"
Merge "Clean dangling image fragments in filesystem store"
Merge "Adding finer notifications."
Merge "Add _FATAL_EXCEPTION_FORMAT_ERRORS global."
Merge "Sample config and doc for the show_image_direct_url option."
Merge "Replace nose plugin with testtools details."
Merge "Add LazyPluggable utility from nova."
Merge "Fix version issue during nosetests run"