Let Package.hasDependency return true if no configuration is specified and _any_ configuration has the dependency. Fixes #137.