Support id_token validation and discovery flow.

I added the following features.

1. Support state parameter.

2. IDToken Validation
  - http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation

3. Discovery
  - http://openid.net/specs/openid-connect-discovery-1_0.html

Even though this is a test cert would still appreciate a new line at EOF.