Determine proper module name for "package.d" files and "dub test". Fixes #198.