Add EC_GROUP_get_degree and OPENSSL_EC_NAMED_CURVE bindings

Needed for implementing ECDH by the looks of things.