Add an optional redirectDomainStatusCode (301 or 302) to the app
definition. The default server block template returns it instead of a
hard-coded 302. Apps without the field keep redirecting with 302.
Clients that do not send the field, such as the current caprover-api
updateConfigAndSave, keep the stored value instead of resetting it.
Refs #1857