Adds certificate tests for keystone v3

This submission adds two test cases for identity to get_certificates.
Adds a script test_certificates.py and add two supporting functions
in json/identity_client.py

Change-Id: Ic67129c9bbad3683e01f2fae7a22bcf1e77d028d
Merge "Adds certificate tests for keystone v3"