X509Backend support in OpenSSL backend

This PR adds a dependency on `enum34`. I am expecting some improvements to be needed in the docs along with potentially some comments required to explain the purpose of some of the tests.

Depends on #1498.
I'm not sure how I feel about exposing "validity" as N different methods you need to smush together to get a good answer about the certificate status :-/