fixes #8228 - add a concern to serve config_templates controllers

...
For the record, I was just copying shared methods from the controllers and put them here. But I completely agree it should have meaningful names. refactored and pushing in 3, 2, 1...