Handle multiple modules mixed into another module

refs #260
Merge pull request #277 from trptcolin/more_module_nesting

Handle multiple modules mixed into another module