Let --nodeps work for any command of the build/generate category.
Fall back to "dub -b unittest" when "dub test" finds no library configuration.