Modules with relative paths are now loaded using buid script directory as base path, not the current directory

Also restored and fixed to work tests to check if $config.moduleScope works