Check to see if ApplicationSetting.current fields are in sync with the columns in application_settings table

First iteration: tackle this issue in 17.3.1

Second iteration: There were some reports of puma running older ApplicationSetting code after an upgrade and the workaround is to restart puma. This may not always come to surface. For example in the above issue, if a customer doesn't have a dynamic child pipeline, they may never be aware of this. We should check that ApplicationSetting.current fields align with the columns of the application_settings database table and if they mismatch, we should recommend restarting GitLab to not run into issues like 481986

Please apply either the ~GitLabDetective:Meta or ~GitLabDetective:Check label when creating an issue.

Edited by Elif Munn