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...
this is one of the first issues we bumped into, this is a bug in the custom module naming scheme support (module names for toolchain aren't being generated correctly, and the unit tests were missing this)