General improvements to X.509 certificate handling
This PR improves the loading/validating of X.509 certificate in the igwn_auth_utils.x509
module. This is mainly to provide a direct replacement for gwdatafind.utils.validate_proxy
and similar functions.