Fix hacking rules: H302,H305,H307,H402

Currently, OpenStack Proposal Bot tries to update requirements with
global requirements, while the upgraded hacking has introduced some
new rules which are not fully handled by current code.

This patch fixes some simple rules which are quite straight-forward.

Change-Id: If8334f69fb1ad34fbbd6ad898e0e92eb3f81e95a
Merge "Fix hacking rules: H302,H305,H307,H402"
Improve a bit query API

Make QueryManager.query arguments optional.

At this point we are forced to speicify all filter, orderby, limit
arguments as well to save order. So for example if I would like to get
only 20 records I have to write something like:

ceilometer.query_sample.query(None, None, 20)

instead of

ceilometer.query_sample.query(limit=20)

As this doesn't break backward compatibility it shouldn't be a
big deal to merge it.

Change-Id: I5d589b27cafabd22204585a76f107125b2f3c7bd
Provide explicit help string of resource-metadata

Currently, the "--resource-metadata" in ceilometer sample-create command
is not easy to use. For compatibility, this patch just provides an
explicit help string for the parameter.

Change-Id: I6d68d5b653c3b33808cba6f9a781301fba9b44e3
Closes-Bug: #1324759
Fix the alarm history order shown to user

In the Ceilometer storage backends implementation we are specially
sorting the alarm history points in the following way:
the first one by the timestamp should be the last one in the list.
The Python client itself provides the information in this way, but
the table printed had the opposite one, so this was fixed.

Change-Id: If39bb5868e360f37ed76c12b55fc71eade331f47
Merge "Provide explicit help string of resource-metadata"
Updated from global requirements

Change-Id: Ic2fd2ffb3d5c464d51933e97c6715f8608770487