Fix the dict type metadata missing issue

Based on current implement, the metadata with dict type will be
missed. But some metadata are using dict type, such as the extra
properties of Glance images.

Fix bug 1203699

Change-Id: Ie13e4e5231c789e0efcadace11347a15741472a1
Add HTTP request/reply samples

This relies on the notifications sent by the new
openstack.common.middleware.notifier middleware.

Change-Id: Ic5bb416417e9c99fdd9028ce75f2387732308ad7
Implements: blueprint count-api-requests
Add SQLAlchemy implementation of groupby

Implements: blueprint api-group-by

New class StatisticsGroupByTest contains the storage tests for group by
statistics and has its own test data

The storage tests check group by statistics for
 1) single field, "user-id"
 2) single field, "resource-id"
 3) single field, "project-id"
 4) single field, "source"
 5) single metadata field (not yet implemented)
 6) multiple fields
 7) multiple metadata fields (not yet implemented)
 8) multiple mixed fields, regular and metadata (not yet implemented)
 9) single field groupby with query filter
10) single metadata field groupby with query filter (not yet implemented)
11) multiple field group by with multiple query filters
12) multiple metadata field group by with multiple query filters
    (not yet implemented)
13) single field with period
14) single metadata field with period (not yet implemented)
15) single field with query filter and period
16) single metadata field with query filter and period (not yet implemented)

It also includes the implementation for the SQLAlchemy driver.

Change-Id: I902db657e424b9894c0382db4869b22317fc25da
Close database connection for alembic env

Bug: 1213897

Change-Id: I2fdb738b61ff85db9240cf95e2ee26930edd56c0
Imported Translations from Transifex

Change-Id: I68c9d56807089153e9adb4890da9ad64ea3c4bb4
Enable concurrency on nova notifier tests

Change-Id: I1ff5657466b5ebd24cae02e68342b16c90998ab9
Enhance delayed message translation when _ is imported

Delayed message translation currently doesn't work for
messages written from files that import the _ function
directly.  For example:

from ceilometer.openstack.common.gettextutils import _

This change uses new support added to oslo that enables
lazy text translation in files where _ is imported
directly.

Implements bp user-locale-api

Change-Id: Ib2189836c6bbeb7e242a77415424fa77af5366f5
Merge "Close database connection for alembic env"
Merge "Fix the dict type metadata missing issue"
Merge "Imported Translations from Transifex"
Make RPCPublisher flush method threadsafe

This change allow concurrent access to the local queue of the
RPCPublisher

Fixes bug #1211736

Change-Id: I13371329d40e43f42c357a0893e4023f343a5efa
Merge "Enhance delayed message translation when _ is imported"
Merge "Make RPCPublisher flush method threadsafe"
Add the source=None to from_notification

Change-Id: I9bf225088e546cd882b41c35dd617b1f64c4f5e5
Change counter to sample vocable in api tests

This changes counter to sample vocable in api tests

Parts of the blueprint remove-counter

Change-Id: I9e7cdf833302a41e13940c8f49a7cca36792f033
Change counter to sample vocable in volume tests

This changes counter to sample vocable in volume tests

Parts of the blueprint remove-counter

Change-Id: I39ffcc7ad102c6aa43affe912e8fa6f585705652
Use samples vocable in cm.publisher.test

This change use samples vocable in cm.publisher.test

Parts of the blueprint remove-counter

Change-Id: Ie9386a99bd78aa32c09e35ffac6e474aba4d09cf
Change counter to sample vocable in cm.energy

This changes counter to sample vocable in ceilomter.energy code

Parts of the blueprint remove-counter

Change-Id: I8045fb493489980e98a26434a09365248593ef63
Change counter to sample vocable in cm.compute

This changes counter to sample vocable in ceilometer.compute code

Parts of the blueprint remove-counter

Change-Id: I69a66935254e2d769ed58c2911819549cbe0f5f0
Change counter to sample vocable in cm.image

This changes counter to sample vocable in ceilometer.image code

Parts of the blueprint remove-counter

Change-Id: Ida25da18642b0b72643841d9221799bb17ebbfdc