Add missing text-table dependency.
Avoid installing URL dependencies multiple times.

Use the _resolved property from installed packages to avoid installing URL
dependencies after they are already installed. Also ensure that you can still
use --force if the packages have really changed

This also fixes #3463 as shrinkwrapped dependencies are basically treated the
same as tarball dependencies.
Fixed unused-and-overwritten variable in shrinkwrap tests
Fix outdated-json test on Windows.

Backslashes!
Fix prepublish test on Windows.

On my system, it listed the full directory name, not just "."