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...
I've renamed all `det_module_name*` to `det_short_module_name`, since it also helps in separating between use of the full and short variants of a module name

cc @geimer: you'll need to adjust your custom module naming scheme accordingly (`s/det_module_name/det_short_module_name/g`)