As discussed in #22173, the current the design of the hyperelliptic curves classes was not good.
This changes create the (genus, ring) subclasses dynamically, removing the need for a class/file per case.
CC: @JRSijsling @mstreng @videlec @slel
Component: number theory
Keywords: days98, hyperelliptic curves
Author: Anna Somoza
Branch/Commit: fe002eb
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/27633