builds: make latest and stable constants overridable
builds: make latest and stable constants overridable

Makes the constants overridable from settings so that downstream
can use different ones.

rtfd/readthedocs.org,rtfd/readthedocs.org,rtfd/readthedocs.org,rtfd/readthedocs.org