changed module config handler not to enforce a module.lala. prefix for all <settings> and refactored it a bit to deal with multiple <settings> blocks more elegantly, refs #519