[ keystone_policy.py ] Add yaml support

What:

Allow to read/write rules in json/yaml formats

Why:

1) Since Newton release oslo.policy supports both of the formats:
yaml and json.

2) oslopolicy-policy-generator produces an output only in yaml format
since the release, so yaml format expected as default.

3) Nova newton+ package has no any default policy.json file.
It has empty policy.yaml file, so we need to have ability to
manage the file from the module.

Change-Id: I39239ba5eebee39483607785698806c040937b4b
1 file changed