Disable gateway routing in front-end mode

without this change, slurmd would abort on reconfiguration
Cosmetic changes to layouts framework
Fix layouts abort on reconfig