Added support for getting extensions from a X509Req object.

These two commits add support for getting extensions from X509Req objects and adjust the appropriate unit tests (although, I still can't seem to run them because of https://github.com/pyca/pyopenssl/issues/18).