fix typo that only retain one entry from modextrapaths and overwrites the modextravars entries
add unit test for make_module_step
Merge branch 'v1.8.x' of github.com:hpcugent/easybuild-framework into v1.8.x