Empty files should no longer contain copyright

Change-Id: Id314cd0ec658cb96cfc50493cd5bab10c2716714
Closes-Bug: #1262424
Allow customized reseller_prefix in Ceilometer middleware for Swift

Swift can be configured to use a different reseller prefix than AUTH_.
In this case Ceilometer returns None as resource_id.

This patch allows to set the reseller prefix, with a fallback to AUTH_
if not set. It also ensures that the reseller prefix ends with ``_``.
Two additional tests to verify this were added.

Change-Id: I1ba40091582da46c0385a71d1828bb3820a5e2b5
Closes-Bug: #1260965
Fix work of udp publisher

 * Signature is appended also to udp messages
 * All methods for convert from sample to message are moved to publisher/utils.py
 * In configs metering_secret is moved from group publisher_rpc to publisher
 * Changed tests for udp publisher

Fixes: bug #1259171

Change-Id: Ic7727c69d4be6d17ff00f21e323341efd57122a7
Remove redundant meter (name,type,unit) tuples from Resource model

Fixes bug 1267162

Previously, a list of meter (name,type,unit) tuples with per-sample
cardinality was added to the Resource model by the storage driver
get_resource method.

However this potential huge and highly repetitive list was then
promptly discarded by the API layer, as the meter links in the API
Resource representation are populated via subsequent calls into
the storage driver get_meters method.

Now, we avoid the scaling issue by suppressing the creation of
this unused meter list.

Change-Id: I18dee7552836c724798ea1340e2e933c09d8a294
Merge "Empty files should no longer contain copyright"
Merge "Fix work of udp publisher"
Merge "Allow customized reseller_prefix in Ceilometer middleware for Swift"
Merge "Remove redundant meter (name,type,unit) tuples from Resource model"