enable sql metadata query

explode metadata key/values to their own tables/rows (based on type).
build a key string using dot notation similar to other nosql db
and filter based on that.

Blueprint: sqlalchemy-metadata-query
Related-Bug: #1093625

Change-Id: I2076e67b79448f98124a57b62b5bfed7aa8ae2ad
Don't use sqlachemy Metadata as global var

In up>down>up mode migrations are failing due to using of common MetaData.
It should be declared separatly for both of migration methods.

Change-Id: I594c649def9a269033463558ba2aa9313f817ee5
Related-Bug: #1240898
Replace tests.base part7

It is the next step to replace using ceilometer.tests.base with
openstack.common.test.
In this patch is changed for using
openstack.common.test and added needed fixtures in
test classes.

Change-Id: I691cb45bf591fbb1ab68eb1faca07f1772dcea0b
Allow Events without traits to be returned

Due to the join with Traits done in the SqlAlchemy implementation
of get_events, only Events with Traits can be returned from that
call. This would be expected behavior if Traits are provided in
the filter, but if no Traits are provided, all matching Events
should be returned. Even those without Traits.

The solution to this is to pre-populate the dictionary of Event
models before populating their Traits in the case of no Trait
filters being provided.

Change-Id: I4b0a5c20952f1dd5f2e2db631ffe1a14bd168fb3
Closes-Bug: #1245992
Fix the default rpc policy value

Before, each time a service that use ceilometer.publisher.rpc start this
annoying message appear because the default value is not the correct.

WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default

This patch set the correct default (to default inteads of wait), and check in tests
that the expected logger method is called.

Fixes bug #1245965

Change-Id: I41b9461359c7b0b17eb8e9dad1772bafdc3554fc
Fix the developer documentation of the alarm API

Add body parameter in PUT/POST alarm method.
Add boundary to the BoundedInt doc name.
Remove no more existing alarm_id in put/get_one wsexpose method.
Use state wsme enum instead of unicode string for alarm state get/put
even wsme validation won't work to have the documentation generated
correctly.

Update sphinxcontrib-pecanwsme to generate the documentation of get, put
and custom pecan method.

Change-Id: I9587f3d640cc768a3d788542d2af138411dcee60
Use consistant cache key for swift pollster

Change-Id: I7a3a8a7f80d1f6c39ba4da5ccef4122b4badc6ec
Merge "Don't use sqlachemy Metadata as global var"
Merge "Use consistant cache key for swift pollster"
Merge "enable sql metadata query"
Merge "Allow Events without traits to be returned"
Merge "Replace tests.base part7"
Merge "Fix the developer documentation of the alarm API"
Merge "Fix the default rpc policy value"