Cache Cognito ID on a per-identity-pool basis.

Also add CognitoIdentityCredentials.clearCachedId() to manually
clear cache for a given IdentityPoolId.
Invalidate cache when failing to get identity ID for a pool
Merge pull request #352 from aws/cognito-id-pool-caching

Cache Cognito ID on a per-identity-pool basis.