get rid of comments w.r.t. filtering stdout before exec'ing
purge before running each module test, to avoid problems with modules that were already loaded
rely on 'module list' for determining list of loaded modules, for all module tools; stop setting $LOADEDMODULES empty if its not defined
move prepending $MODULEPATH with EasyBuild module path from config.py to modules.py; required for modulecmd.tcl which also keeps track of $MODULEPATH_modshare
get rid of check to see if $MODULEPATH is set, since it's not required anyway
reinitialize modules tool in tearDown of modules.py unit tests, to trigger 'module use' on module paths