Refactor kwapi unit test

ceilometer/tests/energy/test_kwapi.py has very similar test cases,
this patch refactors those unit test code.

Change-Id: Iaedee8d6be6b58147413295b39d8d8b152caa39a
Move central agent code to the polling agent module

That's the preparation for further compute and central agents
merge

Partially-Implements-Blueprint: merge-compute-central-agents

Change-Id: If5f151ab7d30c9711929f6dcade553fdca09ab67
Drop anyjson

oslo.serialization is a drop in replacement and already being used

Change-Id: I479221a9d4ec34cfef951d127af249e8c9432c29
Merge Central and Compute agents to *polling agent*

Implements-Blueprint: merge-compute-central-agents

Change-Id: I0e8c38ba624d0f9c88582a8b2d7180e808d262a7
Fix docs to suit merged compute/central agents concept

DocImpact: Fix agents-related docs to describe polling agent
Related-Blueprint: merge-compute-central-agents

Change-Id: If377ac49bf75c0698f4af6be021e8354240f4e42
Merge "Move central agent code to the polling agent module"
Merge "Merge Central and Compute agents to *polling agent*"
Merge "Fix docs to suit merged compute/central agents concept"
Merge "Drop anyjson"
Merge "Refactor kwapi unit test"