support for hierarchical module naming schemes

@geimer: this should fix the problem that's blocking you right now

I might need to figure out one more thing w.r.t. the devel module name before this really works for you, I'm looking into that...
it matters little imho, I'm willing to do the prepends in reverse order to retain the order in the list, if you care strongly about this; if you're depending on the order of the initial module paths in your naming scheme, you're going to have a bad time though...