Fix `npm ls` with --depth=x option

1. correctly mark unmet dependency when depth === maxDepth
2. no longer output ERR if depth === maxDepth and dependency is met
3. included Tap test case for this behavior

NOTE: this fix requires this PR for the `read-installed` package
to be merged: isaacs/read-installed#10