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's basically just a sanity check for the unit test suite, nothing major

it does check whether the output of the `generate_software_list.py` script is what it should be (which is what drives https://github.com/hpcugent/easybuild/wiki/List-of-supported-software-packages)