Re-Add the duration

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add get_meter_statistics() stub to the other impl.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Remove v2 list projects tests

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fix v2 event list paths

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Make the query op default to 'eq'

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fix the start/end timestamp passed into calc_duration()

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Add some log messages to warn of unimplemented queries

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fix most of the duration test cases (overlapping ones are still broken)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
merge asalkeld/v2flatten

Change-Id: I2cdbc005f0dc326410a94fc4e7d725ebf1329e46
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>