Add bindings for x509v3
Move macro things to macros
Add some functions to the macros section since they changed from non-const to const between openssl versions
Merge pull request #131 from cyli/x509v3

Add x509v3 bindings (Refs #77)