Miscellaneous cleanup of TLS 1.2 code.

1. Support TLS 1.2 in PKCS #11 bypass mode.
2. Delay the creation of handshake hash contexts until we have established
   the handshake hash functions.
3. Buffer handshake messages until the handshake hash contexts have been
   created.
4. Fix the double ssl3_RestartHandshakeHashes calls, by removing the
   ssl3_RestartHandshakeHashes call in ssl3_NewHandshakeHashes.
5. Remove redundant ssl3_InitState calls.
6. Remove NSS_SURVIVE_DOUBLE_BYPASS_FAILURE support, so that
   ss->ssl3.hs.messages is used for only one purpose.

R=agl@chromium.org
BUG=90392
TEST=none

Review URL: https://chromiumcodereview.appspot.com/17109007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206827 0039d316-1c4b-4281-b951-d872f2087c98
7 files changed