Moved X509 helper class and dns_to_pat functions to a common utility module for cert parsing.
Now uses the new CertParser utility module.
Merge branch 'certparser'