store policies into consul-kv as <scn>:policies/

- now storing policies into consul-kv under folder
   <service_cmponent_name>:policies/ as
   items/<policy_id>=<policy_body> and
   event={"action": "gathered", "policies_count": 30,
               "timestamp": "2018-02-12T10:20:30.777Z",
                "update_id": "0e79edc0-6c64-425e-a618-cc13ef50cd56"}}
- this data is going to be retrieved by config-binding service thru
   a new API http GET
   <CBS>/service_component_all/<service_component_name>
- passing policy_body objects to plugins that consume the Policies
   decorators to pass to component
- new decorator to delete the <service_cmponent_name>:policies/
   folder in consul-kv upon uninstalling the component
- sorting and merge of policy configs into application config
   is not removed yet - to be done later
- fixed unit tests - coverage is 83%

Change-Id: Ie55be9298ac7889d516a5b884a2e24ac05c65a01
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-347
7 files changed