Do the same auth checks in the v2 API as in the v1 API

- Don't limit access to admin.
- Reuse the get_limit_to_project() function from v1/acl.py

This requires some patches to wsme to fix the Response status (so we
can set it to a 401). We don't have this yet, so I am posting an
interim patch. Once we have the next version of wsme I'll fix the
status_code that is returned (see the TODO comments).

Change-Id: Ib39f045b3f9c4ff1f851e13d528fd117aed45c34
fix the broken ceilometer.conf.sample link

Change-Id: I37ce2b1e10019e5a77217d458113155a26a2c59f
Fixes: bug #1177332
Switch to pbr.

Use pbr instead of openstack.common.setup|version per Havana Summit.

Fixes bug 1179007

Change-Id: Ife7194cfd3f4444d7006fdf90b79be77737abd0a
Use sqlalchemy session code from oslo.

The session code in ceilometer was copied in from an old version of
nova which has since fallen out of date.

Change-Id: I6de3d6488a0cfe5943db144ca2f4924a2bfb8310
Merge "Do the same auth checks in the v2 API as in the v1 API"
Merge "Switch to pbr."
Merge "Use sqlalchemy session code from oslo."
Merge "fix the broken ceilometer.conf.sample link"