Add support for X509_REQ_get_extensions()

This adds support and test for get_extensions() on the request object.
The result is the already implemented extension stack.