Moduli spaces of stable curves and stable maps, connected via a quotient in Geometric Invariant Theory