Expose support for using ecdhe with SSL connections
Corrected a typo
Added tests
Added a gitignore
Use the internal name
Added documentation
Merge branch 'master' into ecdhe-support

Conflicts:
	.gitignore
	OpenSSL/test/test_ssl.py
Merge branch 'master' into ecdhe-support
Get the actually used cipher name,bits,version of the established
connection.

get_cipher_name, get_cipher_bits, get_cipher_version methods are
wrappers for SSL_get_cipher_name, SSL_get_cipher_bits,
SSL_get_cipher_version

https://www.openssl.org/docs/ssl/SSL_get_current_cipher.html
https://www.openssl.org/docs/ssl/SSL_CIPHER_get_name.html
Interface for the SSL_get_peer_finished, SSL_get_finished.
Expose all of the EC curve name constants

It would be great if there were a clean way to enumerate them rather
than just listing them like this, but I don't know of one.
Add SSL.ELLIPTIC_CURVE_DESCRIPTIONS to expose the actual supported curves

Different OpenSSL builds support different curves.  Determine the
supported curves at startup and expose the list.
Test methods test_get_cipher_* have been split into two sets.
assertTrue(isinstance was replaced with assertIsInstance.
assertEqual for None was replaced with assertIs.
Added entries to doc/api/ssl.rst.
Fix docstring and Python 2.6 issues in ECDHE support
Identify elliptic curves by short name, not NID

Using NIDs is awkward and requires updating pyOpenSSL every time a new
curve is added.  This approach avoids needing to update pyOpenSSL
each time a new curve is added, and it results in more readable code
and a more readable dict ELLIPTIC_CURVE_DESCRIPTIONS.
Stop exposing all the NID and SN objects for elliptic curves, now
that we access them by name.
Only write one byte at a time and try to write many more bytes overall.

Hopefully this addresses FreeBSD and Gentoo issues with this test.
Replace assertIs with assertTrue,
because assertIs is not supported in Python 2.6
Apply the changeset from https://code.launchpad.net/~redtoad/pyopenssl/pyopenssl/+merge/178226 by Sebastian Rahlf
pyflakes and documentation cleanups