Add hx509_cert_get_SPKI_AlgorithmIdentifier, remove unused stuff, add hx509_context...