Settings tab multiple fixes

1) Make settings with same names in different groups work properly
2) Make settings groups without metadata work properly
3) Name variables in settings_tab.js according to their names in the template

Change-Id: I623eb226170f0dd77d87aaa2b31bc48b995fb2fd
Merge "Settings tab multiple fixes"