(PE-4308) Add get-subject-dns-alt-names function

For getting the list of DNS alt names from a cert or CSR,
to correspond with the existing subject-dns-alt-names function
for creating the list.