Add google_credentials_json and accompanying tests.

Move validation logic from client.py to google_credential_json.
Refactor client.py and tests to use google_credential_json module.

Related to: https://github.com/google/oauth2client/issues/44